home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / RLaB 1.15c / ChangeLog < prev    next >
Encoding:
Text File  |  1994-11-06  |  71.4 KB  |  2,624 lines  |  [TEXT/ttxt]

  1. Sun Nov  6 09:45:05 1994  Ian Searle  <ian@quixote>
  2.  
  3.     * Release v1.15b
  4.  
  5. Sat Oct 29 09:31:07 1994  Ian Searle  <ian@quixote>
  6.  
  7.     * function.c (function_setup2): Cut back size of program array. 
  8.  
  9.     * code.c (list_create): Change list-element create name to "-L-". 
  10.  
  11.     * Revised all flow-control logic. Instead of using ifcode(),
  12.     forcode(), whilecode(), the parser now generates codes for
  13.     conditional jumps and for loop construction with explicit
  14.     jumps. This required significant changes to main.c, rlab.y
  15.     code.[ch], diss.c, etc...
  16.  
  17. Fri Oct 28 23:17:15 1994  Ian Searle  <ian@quixote>
  18.  
  19.     * scalar.c (scalar_CreateC): Remove references to obsolete `dtype'
  20.     structure member.
  21.  
  22.     * symbol.c (install_tmp): Change tmplist scheme to include a
  23.     tmpstack of already allocated ListNodes in an effort to save time
  24.     during execution.
  25.  
  26. Fri Oct 21 20:50:50 1994  Ian Searle  <ian@quixote>
  27.  
  28.     * Release v1.13b.
  29.  
  30. Sat Oct  8 15:30:53 1994  Ian Searle  <ian@quixote>
  31.  
  32.     * fi_1.c (matrix_Det_Complex): Warn and return zero when matrix is
  33.     singular. 
  34.     (matrix_Det_Real): Same as above.
  35.  
  36. Thu Oct  6 20:02:14 1994  Ian Searle  <ian@quixote>
  37.  
  38.     * code.c (copy_arg): Copy name to data structure.
  39.  
  40. Fri Sep 30 20:11:13 1994  Ian Searle  <ian@quixote>
  41.  
  42.     * scan.l (new_file): Try and repair some small mem leaks (bst).
  43.  
  44.     * util.c (btree_members): Fix memory leak (bst).
  45.  
  46. Thu Sep 29 23:05:11 1994  Ian Searle  <ian@quixote>
  47.  
  48.     * misc/plplot.r (plot3): Take care of log-log-log data
  49.     possibility. 
  50.  
  51. Wed Sep 28 19:36:39 1994  Ian Searle  <ian@quixote>
  52.  
  53.     * odei.c (odei): Add optional last argument (8), a user supplied
  54.     output function.
  55.     (out_func): New function.
  56.  
  57. Sun Sep 25 19:46:29 1994  Ian Searle  <ian@quixote>
  58.  
  59.     * matop2.c (matrix_ReadGeneric): Check fscanf() return value.
  60.  
  61. Sat Sep 24 11:27:43 1994  Ian Searle  <ian@quixote>
  62.  
  63.     * code.c (load_local_var): Add nargin initialization.
  64.  
  65.     * misc/plplot.r: Check for previously existing WIN
  66.     before creating new one.
  67.  
  68. Mon Sep 19 18:33:14 1994  Ian Searle  <ian@quixote>
  69.  
  70.     * BIG CHANGE: Undeclared function variables are default local
  71.     now. 
  72.  
  73. Sat Sep 17 09:13:57 1994  Ian Searle  <ian@quixote>
  74.  
  75.     * configure.in: Make configure look for plplot in
  76.     /usr/local/plplot and /usr/local/... Also make trying to use
  77.     dynamic linking standard, and well as using the case statement for
  78.     option flags.
  79.  
  80. Thu Sep 15 17:12:56 1994  Ian Searle  <ian@quixote>
  81.  
  82.     * misc/plplot.r (y_scales): More bug fixes in y_scale().
  83.  
  84. Tue Sep 13 22:20:15 1994  Ian Searle  <ian@quixote>
  85.  
  86.     * r_plot.c (_plot_plsfile): New function.
  87.  
  88. Mon Sep 12 20:31:29 1994  Ian Searle  <ian@quixote>
  89.  
  90.     * rdl.c (DLopen): Check for RTLD_NOW.
  91.  
  92.     * print.c (SPrintf): Change argument cleanup... use inlined
  93.     clean-up function...
  94.  
  95.     * math_1.c (Floor): Try and recover some speed from earlier
  96.     changes... 
  97.  
  98. Sat Sep 10 23:19:33 1994  Ian Searle  <ian@quixote>
  99.  
  100.     * Major overhaul to built-in function argument handling. Instead
  101.     of bltin() handling the argument tmp-cleanup, each builtin is now
  102.     responsible. This may sound more difficult, but it will be easier
  103.     in the long run, especially for people writing rex files.
  104.  
  105. Sun Sep  4 12:26:43 1994  Ian Searle  (ian@quixote)
  106.  
  107.     * main.c (Eval): Make eval() work with any kind of string (matrix,
  108.     or scalar).
  109.  
  110.     * test: New tests for factor/backsub, real/complex ,
  111.     general/symmetric. 
  112.  
  113.     * Add symmetric linear equation solver usage for solve(), `\',
  114.     factor, and backsub.
  115.  
  116. Wed Aug 24 19:15:31 1994  Ian Searle  (ian@quixote)
  117.  
  118.     * bltin2.c (Putenv): New function.
  119.  
  120.     * configure.in: Some bug fixes, and improvements...
  121.  
  122. Tue Aug 23 17:42:42 1994  Ian Searle  (ian@quixote)
  123.  
  124.     * function.c (function_Copy): Always create arg and local lists on
  125.     copy. 
  126.  
  127. Mon Aug 22 23:21:58 1994  Ian Searle  (ian@quixote)
  128.  
  129.     * matop2.c (matrix_Pow2): Added more complete checking of
  130.     element-by-element power ops for various combinations of scalars
  131.     and matrices.
  132.     (matrix_matrix_el_pow): Check individual matrix entries for proper
  133.     conditions. 
  134.  
  135. Sun Aug 21 00:22:58 1994  Ian Searle  (ian@quixote)
  136.  
  137.     * r_plot.c (_plot_plvasp): New function.
  138.     (_plot_plvpas): New function.
  139.  
  140.     * code.c (userf): Had the names in bacwards order.
  141.  
  142. Tue Aug 16 22:51:53 1994  Ian Searle  (ian@quixote)
  143.  
  144.     * misc/plplot.r (subplot): New function.
  145.  
  146.     * configure.in: Check for working rint.
  147.  
  148. Mon Aug 15 18:24:27 1994  Ian Searle  (ian@quixote)
  149.  
  150.     * bio.c: Fix four-byte word size.
  151.  
  152. Sun Aug 14 22:05:22 1994  Ian Searle  (ian@quixote)
  153.  
  154.     * Makefile.a: Use version number for TOPDIR.
  155.  
  156. Sat Aug 13 07:28:38 1994  Ian Searle  (ian@quixote)
  157.  
  158.     * r_plot.c (_plot_plstart): Add server no kill code for new plplot
  159.     (4.99h). 
  160.  
  161. Wed Aug 10 18:20:41 1994  Ian Searle  (ian@quixote)
  162.  
  163.     * util.c (fpecatch): More EMX changes (re-enable signal()).
  164.  
  165.     * code.c (intcatch_wait): Some changes to support EMX (OS/2).
  166.  
  167. Tue Aug  9 03:46:10 1994  Ian Searle  (ian@quixote)
  168.  
  169.     * matop2.c (matrix_matrix_Pow): New function.
  170.     (matrix_scalar_Pow1): Add 1-by-1 special case.
  171.  
  172.     * opmat.c (matrix_assign): Reset matrix name after re-init.
  173.  
  174.     * rdl.c (DLopen): Add dlerror() usage to dlsym() call.
  175.  
  176. Mon Aug  8 18:29:38 1994  Ian Searle  (ian@quixote)
  177.  
  178.     * matrix.c (matrix_read_string): Eat up last new line. 
  179.     (matrix_Read): Return early from string read.
  180.  
  181. Sun Aug  7 12:24:35 1994  Ian Searle  (ian@quixote)
  182.  
  183.     * Makefile.a: New file. Actually this is the original
  184.     Makefile.in. Now either Makefile.so or Makefile.a gets copied to
  185.     Makefile.in during configure.
  186.  
  187.     * Makefile.so: New file
  188.  
  189.     * Adding support for dynamic linking.
  190.  
  191.     * util.c (call_rlab_script): Remove check for number of arguments,
  192.     this is done in userf already, and is not valid if the function is
  193.     a builtin.
  194.  
  195. Tue Aug  2 23:50:29 1994  Ian Searle  (ian@quixote)
  196.  
  197.     * code.c: Clean up memory inefficieny in list member references.
  198.  
  199. Fri Jul 29 20:17:09 1994  Ian Searle  (ian@quixote)
  200.  
  201.     * Many changes to almost all files. Re-organize to reduce global
  202.     variable usage, and increase modularity (for dynamic linking).
  203.  
  204.     * code.c: Convert global variables to static.
  205.  
  206. Thu Jul 28 22:17:09 1994  Ian Searle  (ian@quixote)
  207.  
  208.     * code.c (whilecode): All this time and I was neglecting to clean
  209.     the conditional Datums...
  210.     (ifcode): Same as whilecode...
  211.  
  212.     * matop2.c (matrix_ReadGeneric): Fix to allow spaces after last
  213.     row element. Re-work 1st line logic.
  214.  
  215. Thu Jul 21 22:33:18 1994  Ian Searle  (ian@quixote)
  216.  
  217.     * install.sh: Switch to X11R5 install.sh.
  218.  
  219. Tue Jul 19 22:46:27 1994  Ian Searle  (ian@quixote)
  220.  
  221.     * fi_1.c: Added matrix_Detect_Inf and matrix_Detect_Nan calls.
  222.  
  223.     * matop3.c (matrix_Detect_Inf): New function.
  224.     (matrix_Detect_Nan): New function.
  225.  
  226.     * util.c: Removed a few no-longer used functions.
  227.  
  228. Mon Jul 18 19:33:26 1994  Ian Searle  (ian@quixote)
  229.  
  230.     * code.c (assign): Rework LHS checking for a teeny bit of speed.
  231.  
  232.     * op.c (ent_ent_add): Flatten switches.
  233.  
  234. Sun Jul 17 00:57:06 1994  Ian Searle  (ian@quixote)
  235.  
  236.     * matop2.c (matrix_matrix_el_pow): Handle 1-by-1 matrices.
  237.  
  238.     * code.c (execute): Change for to a while to speed things up a
  239.     tad. 
  240.  
  241.     * opmat.c (matrix_assign): Speed up a[i;j] = x, where i and j are
  242.     scalars. 
  243.  
  244.     * matrix.c (matrix_Assign_el): New function.
  245.  
  246. Sat Jul 16 15:14:40 1994  Ian Searle  (ian@quixote)
  247.  
  248.     * main.c (run_program_eval): Modify to only call yyparse once. 
  249.  
  250.     * code.c (forcode): Cleanup changes to forcode for readability.
  251.  
  252. Tue Jul 12 17:22:36 1994  Ian Searle  (ian@quixote)
  253.  
  254.     * matop2.c (matrix_Sign): New function.
  255.  
  256. Mon Jul 11 18:11:50 1994  Ian Searle  (ian@quixote)
  257.  
  258.     * listnode.h (listNode_GetKey): Make it a macro (faster).
  259.  
  260. Sat Jul  9 17:03:36 1994  Ian Searle  (ian@quixote)
  261.  
  262.     * bltin2.c (Eval): New function. Also affects scan.l, and
  263.     main.c. Now eval() will read from a string without the temporary
  264.     file. 
  265.  
  266.     * scan.l (set_rlab_input): New function.
  267.  
  268. Thu Jul  7 20:37:51 1994  Ian Searle  (ian@quixote)
  269.  
  270.     * code.c (list_assign): Missing break.
  271.  
  272. Wed Jul  6 21:42:49 1994  Ian Searle  (ian@quixote)
  273.  
  274.     * bio.c (Fseek): New function.
  275.     (Fread): New function.
  276.  
  277. Tue Jul  5 17:50:29 1994  Ian Searle  (ian@quixote)
  278.  
  279.     * matrix.c (matrix_Truncate): Check size before truncating.
  280.  
  281. Sun Jun 26 08:48:01 1994  Ian Searle  (ian@quixote)
  282.  
  283.     * Release v1.02
  284.  
  285.     * misc/plplot.r (grid_y_default): Make default grid without grid
  286.     lines at tick intervals.
  287.  
  288. Wed Jun 22 22:36:50 1994  Ian Searle  (ian@quixote)
  289.  
  290.     * bltin2.c (Tmpfile): New function.
  291.  
  292. Sun Jun 12 09:23:21 1994  Ian Searle  (ian@quixote)
  293.  
  294.     * toolbox/toeplitz.r: Revise contributed toeplitz so that it will
  295.     handle size(C) != size(R). Note that it still will not perform
  296.     like Matlab's for the complex case.
  297.  
  298. Sat Jun 11 21:58:16 1994  Ian Searle  (ian@quixote)
  299.  
  300.     * misc/plplot.r (plhold_off): Add call to _pltext() to reset to
  301.     text mode.
  302.  
  303.     * matop2.c (matrix_ReadGeneric): Improvments to handle last lines
  304.     without terminating newline characters.
  305.  
  306. Thu Jun  9 17:18:23 1994  Ian Searle  (ian@quixote)
  307.  
  308.     * r_plot.c (_plot_plscol0): New function.
  309.  
  310.     * matop2.c (matrix_ReadGeneric): Make readm() more efficient.
  311.  
  312. Tue Jun  7 18:45:37 1994  Ian Searle  (ian@quixote)
  313.  
  314.     * Makefile.in: Remove obsolete targets from Makefile.
  315.  
  316.     * getline.c (Getline): Fix stupid string error.
  317.  
  318. Mon Jun  6 17:24:16 1994  Ian Searle  (ian@quixote)
  319.  
  320.     * fi_1.c (matrix_Eig_NEP): Fix overwrites problem with
  321.     left-eigenvectors. 
  322.  
  323. Sun Jun  5 20:20:32 1994  Ian Searle  (ian@quixote)
  324.  
  325.     * Release Version 1.0.
  326.  
  327. Tue May 24 16:55:15 1994  Ian Searle  (ian@quixote)
  328.  
  329.     * fi_1.c (solve_eq): Add calls to [DZ]GECON for input matrix
  330.     condition check.
  331.     (solve_eq): Mods to make A ill-conditioning handling more uniform,
  332.     as well as error messages.
  333.  
  334.     * matrix.c (matrix_Assign): Make row and column index requirements
  335.     looser. 
  336.     (matrix_ExtractColumn): Same.
  337.     (matrix_ExtractRow): Same
  338.     (matrix_ExtractColMatrix): Same.
  339.     (matrix_ExtractRowMatrix): Same.
  340.  
  341. Fri May 20 20:19:02 1994  Ian Searle  (ian@quixote)
  342.  
  343.     * symbol.c (symbol_table_create): Set the name of $$.
  344.  
  345.     * btree.c (btree_CopyTree): Check for $$.
  346.  
  347.     * code.c (copy_arg): New function.
  348.     (load_local_var): Copy arg variables if they are declared local.
  349.  
  350. Wed May 18 18:23:55 1994  Ian Searle  (ian@quixote)
  351.  
  352.     * matrix.c (matrix_AssignRow): Be more relaxed with matrix index
  353.     dimensions in assignments, and allow [] as assignment index.
  354.  
  355. Mon May 16 19:31:02 1994  Ian Searle  (ian@quixote)
  356.  
  357.     * fi_1.c (matrix_Eig_GNEPa): slightly more descriptive error
  358.     message. 
  359.  
  360. Fri May 13 22:07:52 1994  Ian Searle  (ian@quixote)
  361.  
  362.     * bltin1.c (Reshape): Use targ1 in arglist.
  363.  
  364. Tue May 10 19:20:41 1994  Ian Searle  (ian@quixote)
  365.  
  366.     * matop3.c (matrix_PNorm): New function.
  367.  
  368. Mon May  9 01:21:39 1994  Ian Searle  (ian@quixote)
  369.  
  370.     * fftp.h: Change defines to use newer fftpack calls. Same
  371.     arguments, etc, just added a `D' or `d' to the front of the name.
  372.  
  373.     * matop2.c (matrix_Find): Change && to || in find-complex logic.
  374.  
  375.     * bltin2.c (Find): Add usage of TARG_DESTROY.
  376.  
  377.     * code.c (ret_from_func): Search local list object with pointer
  378.     value. 
  379.  
  380.     * btree.c (btree_find_node_r): Had to make this function search
  381.     the list looking for nodes based upon pointer value.
  382.  
  383. Sun May  8 14:54:04 1994  Ian Searle  (ian@quixote)
  384.  
  385.     * r_plot.c (_plot_plptex): Make last argument be ["s"] or "s".
  386.  
  387.     * util.c (matrix_to_scalar): Add else-if option for STRING
  388.     matrices (can't believe this was used like this ?).
  389.  
  390.     * misc/plplot.r: Added plhold(), plhold_off(). Also added variable
  391.     line/point styles for the same plot.
  392.  
  393. Wed May  4 21:48:05 1994  Ian Searle  (ian@quixote)
  394.  
  395.     * matop3.h: New file.
  396.  
  397.     * matop3.c: New file.
  398.  
  399.     * math_2.c (Max): Make max compatible with Matlab (2 args).
  400.     (Min): Make min compatible with Matlab (2 args).
  401.  
  402. Mon May  2 06:30:08 1994  Ian Searle  (ian@quixote)
  403.  
  404.     * Release v0_99f.
  405.  
  406.     * Added plmesh() (to plplot.r) via r_plot.[ch].
  407.  
  408.     * listnode.c (listNode_isValid): Add listNode_isValid back in.
  409.  
  410.     * Release v0_99e (to tsyang).
  411.  
  412. Sun May  1 14:12:18 1994  Ian Searle  (ian@quixote)
  413.  
  414.     * rfile.c (get_rlab_search_path): New function.
  415.  
  416. Sat Apr 30 10:27:13 1994  Ian Searle  (ian@quixote)
  417.  
  418.     * Release v0_99d
  419.  
  420.     * util.c (call_rlab_script): Oops, make rlab_call_script handle
  421.     builtin functions as well.
  422.  
  423.     * odei.c (odei): Add error check to dtout (!= 0)
  424.     (odei): Moved TARG_DESTROY usage down to bottom of function where
  425.     it belongs.
  426.  
  427. Fri Apr 29 22:06:36 1994  Ian Searle  (ian@quixote)
  428.  
  429.     * bio.c (GetB): New function.
  430.  
  431.     * r_string.c (string_Write): Add call to fflush ().
  432.  
  433.     * bltin1.c (btree_write): Add call to fflush ().
  434.  
  435.     * scalar.c (scalar_Write): Added call to fflush().
  436.  
  437. Tue Apr 26 20:01:38 1994  Ian Searle  (ian@quixote)
  438.  
  439.     * main.c: Add -h to usage string.
  440.  
  441.     * print.c (get_file_ds): Added setvbuf, and buffsize.
  442.  
  443.     * bltin1.c (Read): Removed pre-cautionary close_file_ds() at
  444.     beginning. 
  445.  
  446.     * bio.c (ReadB): Removed pre-cautionary close_file_ds() at
  447.     beginning. 
  448.  
  449.     * rlab.y: Set $$ on [] to avoid confusing if().
  450.  
  451.     * diss.c (print_code_var): Print diss() from core dumping when a
  452.     pushed variable has no key.
  453.  
  454.     * bltin2.c (FVScope): Update for OP_ELADD and OP_EL_SUB.
  455.  
  456.     * diss.c (diss_assemble): Update for OP_EL_ADD and OP_EL_SUB. 
  457.  
  458. Sat Apr 23 08:58:23 1994  Ian Searle  (ian@quixote)
  459.  
  460.     * Release v0.99b
  461.  
  462.     * code.c (intcatch_wait): Mods to prevent unwanted termination
  463.     from multiple ^C.
  464.  
  465.     * matop2.c (matrix_Pow1): Fix a.^0 computation.
  466.  
  467. Tue Apr 12 21:27:56 1994  Ian Searle  (ian@quixote)
  468.  
  469.     * scan.l: Add .+ .-
  470.  
  471. Fri Apr  8 22:17:47 1994  Ian Searle  (ian@quixote)
  472.  
  473.     * code.c (list_assign): Allow 1st element of matrix as list index
  474.     for conversion to string.
  475.  
  476.     * rfile.c (cat_help_file_DOS): New function, added as a DOS
  477.     bandaid.
  478.  
  479. Tue Apr  5 17:13:17 1994  Ian Searle  (ian@quixote)
  480.  
  481.     * bio.c: Changed "r" and "w" to "rb" and "wb".
  482.  
  483. Sun Apr  3 18:07:20 1994  Ian Searle  (ian@quixote)
  484.  
  485.     * scan.l (rlab_yy_input): Added some code to feed flex a dummy
  486.     line if it has already read the '\n' before a flush_line occurs.
  487.  
  488. Tue Mar 29 21:19:13 1994  Ian Searle  (ian@quixote)
  489.  
  490.     * Renamed a bunch of files. Should be better now on crippled OSes.
  491.  
  492.     * matop2.c (matrix_VectorAddCol): New function.
  493.     (matrix_VectorAddRow): New function.
  494.  
  495. Sun Mar 27 18:17:40 1994  Ian Searle  (ian@quixote)
  496.  
  497.     * bltin2.c: Added #include <time.h> for tic() and toc().
  498.  
  499.     * rfile.c: Added #ifdefs for DOS inablility to handle popen in
  500.     rfile and help commands.
  501.  
  502. Thu Mar 24 21:35:57 1994  Ian Searle  (ian@quixote)
  503.  
  504.     * math_3.c (Filter): New function.
  505.  
  506. Sat Mar 19 00:22:52 1994  Ian Searle  (ian@quixote)
  507.  
  508.     * Break bltin.c into bltin1.c and bltin2.c.
  509.  
  510. Fri Mar 18 23:50:51 1994  Ian Searle  (ian@quixote)
  511.  
  512.     * test (l): Added ascii I/O tests.
  513.  
  514. Wed Mar 16 18:45:53 1994  Ian Searle  (ian@quixote)
  515.  
  516.     * bltin.c (Read): Removed fseek() and ftell() usage from read().
  517.  
  518. Mon Mar 14 20:09:59 1994  Ian Searle  (ian@quixote)
  519.  
  520.     * Dump rksuite, and replace with ode.f. Rename rks* to ode*.
  521.  
  522.     * matrix_op2.c (matrix_ReadGeneric): Overhaul readm() so that it
  523.     can read from pipes, or from the middle of a file...
  524.  
  525. Tue Mar  8 23:41:30 1994  Ian Searle  (ian@quixote)
  526.  
  527.     * rksi.f: New file.
  528.  
  529.     * rksi.h: New file.
  530.  
  531.     * rksuite.f: New file.
  532.  
  533.     *  rks.c: New file.
  534.  
  535. Tue Mar  1 21:35:46 1994  Ian Searle  (ian@quixote)
  536.  
  537.     * bio.c (scalar_ReadB): Remove extraneous strlen() call.
  538.     (matrix_ReadB): Remove old index usage.
  539.  
  540. Sun Feb 27 12:08:00 1994  Ian Searle  (ian@quixote)
  541.  
  542.     * test: Added binary file I/O tests.
  543.  
  544. Sat Feb 26 23:13:20 1994  Ian Searle  (ian@quixote)
  545.  
  546.     * bio.c: Changes to make matrix output MATLAB compatible.
  547.  
  548. Thu Feb 24 17:18:58 1994  Ian Searle  (ian@quixote)
  549.  
  550.     * rlib/save.r (save): Use writeb() instead of write().
  551.  
  552. Sun Feb 20 20:26:30 1994  Ian Searle  (ian@quixote)
  553.  
  554.     * bi_io.c: New file, contains binary file I/O functions.
  555.  
  556. Sat Feb 19 21:37:24 1994  Ian Searle  (ian@quixote)
  557.  
  558.     * bltin.c (Write): Fix write() so that argument checking is
  559.     correct. 
  560.  
  561.     * getline.c (Getline): Make getline() return a NULL string if a
  562.     blank line is encountered.
  563.  
  564. Tue Feb  8 20:41:42 1994  Ian Searle  (ian@quixote)
  565.  
  566.     * matrix_op2.c (matrix_Acos): Same change as below...
  567.  
  568.     * scalar_op1.c (scalar_Acos): Same change as below...
  569.  
  570.     * trig.c (Asin): Make asin() and acos() work for values >= 1.
  571.  
  572. Mon Feb  7 17:49:05 1994  Ian Searle  (ian@quixote)
  573.  
  574.     * bltin.c (Reshape): Make reshape() accept scalar numeric values. 
  575.  
  576. Sun Feb  6 22:18:51 1994  Ian Searle  (ian@quixote)
  577.  
  578.     * toolbox/nmsmax.r: New function.
  579.  
  580.     * toolbox/mdsmax.r: New function.
  581.  
  582. Sat Feb  5 22:07:39 1994  Ian Searle  (ian@quixote)
  583.  
  584.     * code.c (function_call): Numerous changes and restructuring to
  585.     make code more functional, and allow usage from other C source
  586.     code (getting ready for dynamic linking).
  587.  
  588. Fri Feb  4 23:04:58 1994  Ian Searle  (ian@quixote)
  589.  
  590.     * util.c (call_rlab_script): New function.
  591.  
  592.     * code.c (userf): New function.
  593.  
  594. Sun Jan 30 16:35:17 1994  Ian Searle  (ian@quixote)
  595.  
  596.     * Makefile.in: Made changes to Makefile to make non-UNIX usage
  597.     easier (OS/2, DOS, etc...).
  598.  
  599. Tue Jan 25 05:31:52 1994  Ian Searle  (ian@quixote)
  600.  
  601.     * toolbox/window.r (window): Return a column vector.
  602.  
  603. Thu Jan 20 17:11:08 1994  Ian Searle  (ian@quixote)
  604.  
  605.     * math_3.c (SchOrd): New function.
  606.  
  607.     * fi_2.c (matrix_Schur_Reorder): New function.
  608.  
  609. Sat Jan  8 13:58:50 1994  Ian Searle  (ian@quixote)
  610.  
  611.     * matrix_op1.c (matrix_scalar_eq): Allow equality tests between
  612.     matrices of numbers, and strings.
  613.     (matrix_scalar_ne): Allow equality tests between matrices of
  614.     numbers, and strings.
  615.  
  616. Fri Jan  7 20:39:05 1994  Ian Searle  (ian@quixote)
  617.  
  618.     * matrix_op1.c (matrix_ne): Allow equality tests between matrices
  619.     of numbers, and strings.
  620.     (matrix_eq): Allow equality tests between matrices of numbers, and
  621.     strings. 
  622.  
  623.     * matrix_op2.c (matrix_string_eq): Allow equality tests between
  624.     matrices, and strings.
  625.  
  626.     * relation.c (ent_ent_eq): Allow equality tests between scalars
  627.     and strings
  628.  
  629. Tue Jan  4 21:55:23 1994  Ian Searle  (ian@quixote)
  630.  
  631.     * test: Added lu/factor tests.
  632.  
  633. Tue Dec 14 19:11:49 1993  Ian Searle  (ian@quixote)
  634.  
  635.     * code.c (init_frame): New functions.
  636.  
  637. Mon Dec 13 17:24:29 1993  Ian Searle  (ian@quixote)
  638.  
  639.     * rfile.c (path_split): Make ':' a static variable called
  640.     PATHT_SEP so non-Unix platforms can change it easily.
  641.  
  642. Sun Dec 12 21:27:19 1993  Ian Searle  (ian@quixote)
  643.  
  644.     * code.c (find_lineno): Added a fail-safe so that we don't back
  645.     off of the code-stack.
  646.  
  647. Sat Dec 11 14:51:39 1993  Ian Searle  (ian@quixote)
  648.  
  649.     * rlab.y (ryyerror): Started using flush_line again. This time I
  650.     got it working :-).
  651.  
  652.     * btree.c (btree_sizeof): New function.
  653.  
  654.     * bltin.c (Sizeof): New function.
  655.  
  656. Mon Dec  6 19:48:29 1993  Ian Searle  (ian@quixote)
  657.  
  658.     * Switch to using flex-2.4.3
  659.  
  660. Fri Dec  3 23:14:12 1993  Ian Searle  (ian@quixote)
  661.  
  662.     * r_plot.c (_plot_plspause): New function.
  663.  
  664. Thu Dec  2 21:05:15 1993  Ian Searle  (ian@quixote)
  665.  
  666.     * print.c (rfile_Destroy): Remove if test, and error message from
  667.     fclose(). 
  668.  
  669. Wed Dec  1 19:12:16 1993  Ian Searle  (ian@quixote)
  670.  
  671.     * bltin.c (Strtod): Make strtod take matrices as well.
  672.  
  673.     * rlib/plplot.r: More updates to plplot.r
  674.  
  675. Tue Nov 23 19:05:09 1993  Ian Searle  (ian@quixote)
  676.  
  677.     * test: Many additional tests added.
  678.  
  679.     *  (fi_?.c): Changed all comparisons between ints and long ints
  680.     (info). 
  681.  
  682.     * r_plot.c (_plot_plprint): Added plflush(), and plend1().
  683.  
  684. Mon Nov 22 21:42:05 1993  Ian Searle  (ian@quixote)
  685.  
  686.     * test (a): Added matrix relational tests.
  687.  
  688.     * matrix_op1.c (matrix_lt): Fix typo.
  689.  
  690. Sun Nov 21 20:56:29 1993  Ian Searle  (ian@quixote)
  691.  
  692.     * bltin.c (Strtod): New function.
  693.  
  694. Wed Nov 17 19:15:09 1993  Ian Searle  (ian@quixote)
  695.  
  696.     * init.c: Add in PLPLOT code.
  697.  
  698.     * random.c (Rand): Change back to f2c *.f for ranlib, and make
  699.     necessary type casts in random.[ch]
  700.  
  701.     * math_3.c (FFT): Add F_INT declarations to avoid alignment
  702.     problems. 
  703.  
  704. Tue Nov 16 19:49:39 1993  Ian Searle  (ian@quixote)
  705.  
  706.     * config.h.in: Add #else #include <malloc.h>
  707.  
  708.     * mem.h: Remove #ifdef __STDC__ , and let config.h take care of
  709.     stdlib.h, or malloc.h.
  710.  
  711. Mon Nov 15 17:16:37 1993  Ian Searle  (ian@quixote)
  712.  
  713.     * matrix_op1.c (matrix_MultiplyCC): Must make sure to use ints
  714.     that are F_INT with BLAS subroutines.
  715.  
  716. Sat Nov 13 11:50:57 1993  Ian Searle  (ian@quixote)
  717.  
  718.     * LOTS of changes for improved fortran interface: New lp.[fh],
  719.     bl.[fh], and fi.h. Many mods to fi_1.c, and fi_2.c
  720.  
  721. Fri Nov 12 21:09:37 1993  Ian Searle  (ian@quixote)
  722.  
  723.     * mathl.c (Rrint): Rename rint() so that it can be used on systems
  724.     with broken rint().
  725.  
  726. Wed Nov 10 22:14:59 1993  Ian Searle  (ian@quixote)
  727.  
  728.     * math_2.c (Eig): Take all the argument overloading out of eig(),
  729.     now eig() just does eig(A), or eig(A, B).
  730.  
  731. Fri Nov  5 17:25:14 1993  Ian Searle  (ian@quixote)
  732.  
  733.     * math_2.c (Eig): Added "u" option.
  734.  
  735. Sat Oct 30 20:57:30 1993  Ian Searle  (ian@quixote)
  736.  
  737.     * btree.c (btree_Print): Add list name printing (like scalars
  738.     matrices, and strings).
  739.  
  740.     * r_string.c (string_Print): New function.
  741.  
  742.     * matrix.c (matrix_Print): Don't print out variable with "-N"
  743.     name, (function arguments).
  744.  
  745.     * scalar.c (scalar_Print): Don't print out variable with "-N" name
  746.     (function arguments).
  747.  
  748.     * main.c (main): Add -h option, prints out error message.
  749.  
  750. Fri Oct 29 19:20:07 1993  Ian Searle  (ian@quixote)
  751.  
  752.     * code.c (list_assign): Left g out of sprintf() format.
  753.  
  754. Tue Oct 26 18:54:38 1993  Ian Searle  (ian@quixote)
  755.  
  756.     * Obtained new getopt related files from the GNU libc.
  757.  
  758. Sat Oct 23 09:21:56 1993  Ian Searle  (ian@quixote)
  759.  
  760.     * bltin.c (Read): Now taks a 2nd argument (optional) which
  761.     specifies a list that the data can be installed onto.
  762.  
  763.     * rlib/fix.r (fix): Mods to function from bradh to handle complex.
  764.  
  765.     * trig.c (Atan2): More generic now.
  766.  
  767.     * matrix_op2.c (matrix_Atan2): Added 1-by-1 checks.
  768.  
  769. Fri Oct 22 21:04:07 1993  Ian Searle  (ian@quixote)
  770.  
  771.     * rlib/finite.r (finite): Return TRUE if element is finite.
  772.  
  773.     * math_1.c (Mod): Mods to handle combinations of different size
  774.     matrices. 
  775.  
  776.     * matrix_op2.c (matrix_Mod): Mods to handle  1-by-1 matrices.
  777.  
  778.     * config.h.in: Fix logic surrounding FP_SET_MASK.
  779.  
  780.     * main.c (warning_1): Moved commas around.
  781.  
  782. Wed Oct 20 20:08:47 1993  Ian Searle  (ian@quixote)
  783.  
  784.     * list_node.c (listNode_SetScope): New function.
  785.     (listNode_SetNum): New function.
  786.  
  787.     * list_node.h: Add two new fields. For scope checking, and
  788.     list-node ordering.
  789.  
  790. Sun Oct 17 09:47:23 1993  Ian Searle  (ian@quixote)
  791.  
  792.     * toolbox/czt.r (czt): Improve default arg checking.
  793.  
  794. Sat Oct 16 13:57:54 1993  Ian Searle  (ian@quixote)
  795.  
  796.     * fi_1.c (matrix_Eig_GNEP): Use complex_div instead of
  797.     complex_Div. This keeps AIX cc from puking when compiled with -O. 
  798.  
  799. Sat Oct  9 23:51:23 1993  Ian Searle  (ian@quixote)
  800.  
  801.     * rlib/isempty.r: Fixed, was backwards.
  802.  
  803. Sun Oct  3 22:36:51 1993  Ian Searle  (ian@quixote)
  804.  
  805.     * toolbox/fftplot.r (fftplot): Fix it so frequency scale is
  806.     returned, and mag and ph are truncated.
  807.  
  808. Sat Oct  2 08:35:51 1993  Ian Searle  (ian@quixote)
  809.  
  810.     * main.c (main): Add some more command line options.
  811.  
  812.     * op_append.c (matrix_matrix_app): Changed matrix_Copy to
  813.     matrix_copy_complex. 
  814.  
  815.     * code.c (function_default_return): Removed unused variable tmp.
  816.     (bltin): Removed unused variable tmp.
  817.  
  818.     * matrix_op2.c (matrix_Pow2): Fix stupid bug. Using wrong MAT
  819.     macro.
  820.  
  821.     * test: Added eigenvalue tests.
  822.  
  823. Fri Oct  1 23:36:17 1993  Ian Searle  (ian@quixote)
  824.  
  825.     * math_2.c (Eig): Finish up new eig() features.
  826.  
  827. Sun Sep 26 09:57:01 1993  Ian Searle  (ian@quixote)
  828.  
  829.     * fi_1.c (matrix_Eig_SEP): New function.
  830.  
  831. Sat Sep 25 16:22:34 1993  Ian Searle  (ian@quixote)
  832.  
  833.     * math_3.c (matrix_is_symm): New function.
  834.     (Issymm): New function.
  835.  
  836. Wed Sep 22 21:40:29 1993  Ian Searle  (ian@quixote)
  837.  
  838.     * code.c (list_assign): Change numeric to string conversion to
  839.     ".6g". and fix lack of iCONSTANT in list_assign().
  840.  
  841. Tue Sep 14 18:52:03 1993  Ian Searle  (ian@quixote)
  842.  
  843.     * util.c (cpstr_strip): SIZE_T change.
  844.  
  845.     * r_string.c (string_Read): SIZE_T change.
  846.  
  847.     * mem.c (xrealloc): Changed all SIZE_T to size_t.
  848.  
  849.     * rlib/plot.r (plotm): Remove name() uses, replace with "?"
  850.     temporarily. 
  851.  
  852. Sat Sep 11 11:17:52 1993  Ian Searle  (ian@quixote)
  853.  
  854.     * fi_2.c (matrix_Sylv_Complex): New function.
  855.  
  856.     * math_3.c (Sylv): New function.
  857.  
  858.     * fi_2.c (matrix_Sylv_Real): New function.
  859.     (matrix_Sylv): New function.
  860.  
  861. Fri Sep 10 16:31:24 1993  Ian Searle  (ian@quixote)
  862.  
  863.     * complex.c (complex_gt): Change complex relationals back to
  864.     original method (using magnitudes).
  865.  
  866. Thu Sep  9 21:37:57 1993  Ian Searle  (ian@quixote)
  867.  
  868.     * bltin.c (System): Remove name() function.
  869.     (Matrix_cast): Fix string-matrix cast.
  870.     (Scalar_cast): Fix string-scalar casts.
  871.     (Show): Add string to type descriptor.
  872.  
  873.     * random.c (SRand): Add if(once) statement so that srand() can be
  874.     called before rand().
  875.  
  876. Tue Sep  7 17:51:00 1993  Ian Searle  (ian@quixote)
  877.  
  878.     * matrix_op2.c (matrix_Pow1): Fix up [m].^salar ops.
  879.     (matrix_is_positive): New function.
  880.  
  881.     * scalar_op1.c (scalar_Pow): Fix up powers (again).
  882.  
  883. Mon Sep  6 09:33:06 1993  Ian Searle  (ian@quixote)
  884.  
  885.     * math_2.c (Sort): Make string sort, a vector function.
  886.  
  887.     * op.c (ent_ent_add): Add matrix-string adds.
  888.  
  889.     * matrix_op2.c (matrix_string_add): New function.
  890.  
  891.     * r_string.c (string_add): New function.
  892.  
  893. Mon Aug 30 18:16:11 1993  Ian Searle  (ian@quixote)
  894.  
  895.     * scan.l: Ignore \f (form-feed control character.
  896.  
  897.     * rlab.y: Made a[], and a[;] allowable (they are no-ops).
  898.  
  899. Sun Aug 29 00:01:13 1993  Ian Searle  (ian@quixote)
  900.  
  901.     * math_3.c: Same as math_2.c.
  902.     (FFT): Move position of tmp2 creation so that it occurs after
  903.     matrix has been either trucated, or extended.
  904.     (IFFT): Move position of tmp2 creation so that it occurs after
  905.     matrix has been either trucated, or extended.
  906.  
  907.     * math_2.c: Use TARG_DESTROY macro in all functions where
  908.     convert_to_matrix, or convert_to_scalar is used.
  909.  
  910.     * print.c (do_printf): Must check argcnt <= 0 since argcnt is
  911.     unsigned. 
  912.  
  913.     * rlab.h: Removed some of the portability oriented defines, and
  914.     put them in config.h
  915.  
  916.     * rlib/isinf.r (isinf): Check for -inf also.
  917.  
  918.     * rlib/linspace.r (linspace): Check N >= 2.
  919.  
  920.     * rlib/logspace.r (logspace): Check N >= 2.
  921.  
  922.     * rlib/triu.r (triu): use .nr, and .nc. Also check k correctly.
  923.  
  924. Sat Aug 28 12:12:33 1993  Ian Searle  (ian@quixote)
  925.  
  926.     * rlib/tril.r (tril): Use .nr, and .nc. Also check k correctly.
  927.  
  928.     * math_3.c (IFFT): Scale the result by 1/N (like MATLAB).
  929.     (FFT): Remove the 1/N scaling (like MATLAB).
  930.     (FFT): Make fft() behave like MATLAB, with 2nd argument.
  931.     (IFFT): Make ifft() behave like MATLAB, with 2nd argument.
  932.  
  933.     * complex.c (complex_or): Make complex relational behave like
  934.     MATLAB. 
  935.  
  936.     * main.c (init_environment): Check environment for PAGER if
  937.     RLAB_PAGER is not specified.
  938.  
  939. Wed Aug 25 23:29:32 1993  Ian Searle  (ian@quixote)
  940.  
  941.     * rlab.y: Added f(,,3,,5) capability to function calls.
  942.  
  943. Tue Aug 24 22:41:42 1993  Ian Searle  (ian@quixote)
  944.  
  945.     * math_2.c (Sort): Make sort() handle scalar string.
  946.  
  947. Wed Aug 18 21:02:55 1993  Ian Searle  (ian@quixote)
  948.  
  949.     * matrix.c (matrix_AppendColC): Some cosmetic touch ups while
  950.     looking for a mem-clobber.
  951.  
  952. Tue Aug 17 21:04:19 1993  Ian Searle  (ian@quixote)
  953.  
  954.     * fi_1.c (matrix_QrPR): Create [P] as a k-by-n.
  955.     (matrix_QrPZ): Create [P] as a k-by-n.
  956.  
  957.     * matrix_op2.c (matrix_Rdivide): Make a / [] work.
  958.     (matrix_Ldivide): Make a \ [] work.
  959.  
  960.     * matrix_op1.c (matrix_Add): Make a + [] work.
  961.     (matrix_Sub): Make a - [] work.
  962.     (matrix_El_Div): Make a ./ [] work.
  963.     (matrix_El_Mul): Make a .* [] work.
  964.  
  965. Mon Aug 16 23:31:04 1993  Ian Searle  (ian@quixote)
  966.  
  967.     * fi_1.c (matrix_QrP): New function(s).
  968.  
  969. Sat Aug  7 08:30:44 1993  Ian Searle  (ian@quixote)
  970.  
  971.     * matrix_op2.c (matrix_ReadGeneric): Changed to MATLAB flat-file
  972.     format. 
  973.     (figure_it_out): New function.
  974.  
  975.     * op_matrix.c (matrix_vector_assign): Add code (move) to re-type
  976.     empty matrices.
  977.     (matrix_assign): Same.
  978.  
  979.     * matrix.c (matrix_AssignRow): Remove matrix rhs-lhs type
  980.     matching, this should be done in op_matrix.c.
  981.     (matrix_Assign): Same.
  982.     (matrix_AssignCol): Same.
  983.     (matrix_AssignVector): Same.
  984.  
  985. Wed Aug  4 19:36:20 1993  Ian Searle  (ian@quixote)
  986.  
  987.     * matrix.c (matrix_AssignCol): Change (1, 1) to (0, 0) is create
  988.     matrix calls.
  989.  
  990. Mon Aug  2 19:41:27 1993  Ian Searle  (ian@quixote)
  991.  
  992.     *  (./rlib): complement.r, intersection.r, set.r, union.r, New
  993.     function.s 
  994.  
  995.     * op_matrix.c (matrix_reshape_col): Make [:] work on scalar STRING
  996.     entities. 
  997.  
  998.     * util.c (convert_all_to_matrix_d): New function.
  999.  
  1000. Sun Aug  1 22:50:30 1993  Ian Searle  (ian@quixote)
  1001.  
  1002.     * bltin.c (Find): Make find() handle scalar input.
  1003.  
  1004. Fri Jul 30 22:35:33 1993  Ian Searle  (ian@quixote)
  1005.  
  1006.     * op_matrix.c (matrix_assign): Same changes as made to
  1007.     matrix_vector_assign(). 
  1008.  
  1009.     * matrix.c (matrix_AssignVector): Free old matrix string element
  1010.     before assigning new value.
  1011.     (matrix_Assign): Same as above.
  1012.     (matrix_AssignCol): Same as above.
  1013.     (matrix_AssignRow): Same as above.
  1014.  
  1015.     * op_matrix.c (matrix_vector_assign): Add code to treat strings
  1016.     like scalar numerics.
  1017.  
  1018.     * op.c (ent_ent_el_pow): Add defaults to the switches to catch
  1019.     non-numeric entities.
  1020.  
  1021. Thu Jul 29 18:23:53 1993  Ian Searle  (ian@quixote)
  1022.  
  1023.     * toolbox/lagrange.r: Added check for out-of-bounds.
  1024.  
  1025.     * matrix.c (matrix_AppendRowS): Copy the null string into the
  1026.     empty matrix elements.
  1027.  
  1028. Wed Jul 28 23:33:15 1993  Ian Searle  (ian@quixote)
  1029.  
  1030.     * scalar_op1.c (scalar_Pow): Fix BOZO in 2nd comparison test.
  1031.  
  1032. Tue Jul 27 06:13:19 1993  Ian Searle  (ian@quixote)
  1033.  
  1034.     * main.c (run_program): Check ijmp so that we don't run out of
  1035.     longjmps in the non-interactive case.
  1036.  
  1037. Sun Jul 25 20:03:21 1993  Ian Searle  (ian@quixote)
  1038.  
  1039.     * rfile.c (find_open): closedir before we call run_program in case
  1040.     an error occurs.
  1041.  
  1042.     * rlab.y (ryyerror): Add longjmp call to ryyerror, also function
  1043.     scope resetting.
  1044.  
  1045.     * main.c (run_program): Now when an error occurs, keep
  1046.     longjmp()'ing up until we hit input == 0.
  1047.  
  1048.     * code.c (function_define): Made to small, but significant
  1049.     changes.  `function_SetCodeSize (u_func, psize + 4);' the number 4
  1050.     was a 5. And, `for (i = psave; i < psize + psave; i++)' the `<'
  1051.     used to be a `<='. These changes were made simply because we were
  1052.     using an extra piece of code when copying the function, which may
  1053.     not be safe under some rare circumstances. This bug popped up when
  1054.     I installed fvscope().
  1055.  
  1056. Sat Jul 24 09:17:10 1993  Ian Searle  (ian@quixote)
  1057.  
  1058.     * dissassem.c (diss_assemble): Fixed bug in OP_LIST_MEMB, and
  1059.     OP_LIST_CREATE dissasembly.
  1060.  
  1061. Fri Jul 23 21:51:33 1993  Ian Searle  (ian@quixote)
  1062.  
  1063.     * bltin.c (FVScope): New function.
  1064.  
  1065. Wed Jul 21 20:05:45 1993  Ian Searle  (ian@quixote)
  1066.  
  1067.     * op_matrix.c (matrix_stack): Make [a;s] work, when a in
  1068.     numeric-string. 
  1069.  
  1070.     * op_append.c (matrix_string_app): Make [a,s] work, where a is
  1071.     numeric-empty. 
  1072.  
  1073. Tue Jul 20 08:22:34 1993  Ian Searle  (ian@quixote)
  1074.  
  1075.     * matrix.c (matrix_AssignVector): Add logic so that we can have
  1076.     any RHS when assigning to an empty matrix.
  1077.     (matrix_AssignRow): Same as previous change.
  1078.     (matrix_AssignCol): Same as previous change.
  1079.     (matrix_Assign): Same as previous change.
  1080.  
  1081.     * rlib/input.r: New function.
  1082.  
  1083.     * toolbox/mret.r: New function.
  1084.  
  1085. Sun Jul 18 09:03:16 1993  Ian Searle  (ian@quixote)
  1086.  
  1087.     * code.c (reset_stack_ptr): New function.
  1088.  
  1089.     * main.c (run_program): Call reset_stack_ptr after longjmp().
  1090.  
  1091.     * rlib/input.r (input): New function.
  1092.  
  1093.     * matrix.c (matrix_print_real): Modify matrix print format.
  1094.  
  1095.     * bltin.c (Clear): Improved error messages.
  1096.  
  1097. Sat Jul 17 08:08:31 1993  Ian Searle  (ian@quixote)
  1098.  
  1099.     * rlib/num2str.r (num2str): New function rfile.
  1100.  
  1101.     * code.c (find_lineno): Check for NULL ptr if we get an error, or
  1102.     warning on the very 1st statement.
  1103.  
  1104. Wed Jul 14 20:31:18 1993  Ian Searle  (ian@quixote)
  1105.  
  1106.     * rlib/redit.r: Removed file existence test.
  1107.  
  1108. Tue Jul 13 20:40:01 1993  Ian Searle  (ian@quixote)
  1109.  
  1110.     * main.c (run_program): Add call to reset_frame_ptr to set fp back
  1111.     after a longjmp.
  1112.  
  1113.     * code.c (reset_frame_ptr): New Function.
  1114.  
  1115. Mon Jul 12 18:49:33 1993  Ian Searle  (ian@quixote)
  1116.  
  1117.     * Release v0.91b.
  1118.  
  1119.     * Major changes to rlab.y, scan.l. to make the parser generate
  1120.     codes, line at a time.
  1121.  
  1122. Wed Jul  7 22:02:33 1993  Ian Searle  (ian@quixote)
  1123.  
  1124.     * rlib/tmp_file.r: Use static variable to help insure uniqness.
  1125.  
  1126. Mon Jul  5 00:40:17 1993  Ian Searle  (ian@quixote)
  1127.  
  1128.     *  (./rlab): Release v0.90a.
  1129.  
  1130.     * bltin.c (Load): Added close_file_ds() call. This is overkill,
  1131.     but what the heck (safety 1st).
  1132.  
  1133.     * util.c (btree_get_node_names_who): Don't print variable names
  1134.     that begin with a "_".
  1135.  
  1136.     * rlab.y: Removed pure parser declaration.
  1137.  
  1138.     * scan.l: Went back to classical lex-yacc interaction (not a
  1139.     pure-parser). 
  1140.  
  1141.     * dissassem.c (diss_assemble): Update for new op-codes.
  1142.  
  1143. Sun Jul  4 20:12:31 1993  Ian Searle  (ian@quixote)
  1144.  
  1145.     * code.c (execute): Add OP_RFILE, OP_RFILE_NAME codes.
  1146.  
  1147.     * Have made major changes to main.c, code.[ch], bltin.c to make
  1148.     the parser/machine callable while executing code.
  1149.  
  1150. Thu Jul  1 21:31:02 1993  Ian Searle  (ian@quixote)
  1151.  
  1152.     * btree.c (btree_write_nodes): Check for BLTIN, and UFUNCTION.
  1153.  
  1154.     * rfile.c (rfile_load): Print out full file name in error message.
  1155.  
  1156.     * matrix.c (matrix_ExtractRowMatrix): Cast element references when
  1157.     bounds checking, so that NaNs and Infs are properly handled.
  1158.  
  1159. Fri Jun 25 17:30:48 1993  Ian Searle  (ian@quixote)
  1160.  
  1161.     * test (S): Added sprintf() test.
  1162.  
  1163. Thu Jun 24 20:15:35 1993  Ian Searle  (ian@quixote)
  1164.  
  1165.     * print.c (do_printf): Fix up argument handling for formats with
  1166.     width and/or precision specifiers.
  1167.  
  1168. Wed Jun 23 19:33:26 1993  Ian Searle  (ian@quixote)
  1169.  
  1170.     * scalar_op1.c (scalar_Pow): Use complex computation all the time.
  1171.     (scalar_Pow): Always return 1 when s2 is 0.
  1172.  
  1173. Tue Jun 22 16:26:58 1993  Ian Searle  (ian@quixote)
  1174.  
  1175.     * config/*: Added HAVE_TIME_H define.
  1176.  
  1177.     * config/config.svr4:  Added HAVE_STDLIB_H define.
  1178.  
  1179.     * scan.l: Get rid of #elif pre-processor statements (not K&R
  1180.     compatible). 
  1181.  
  1182.     * rlab.h:   Added HAVE_STDLIB_H block.
  1183.  
  1184.     * config/config.rs6000: Added HAVE_STDLIB_H define.
  1185.  
  1186.     * rfile.c:  Added HAVE_STDLIB_H block.
  1187.  
  1188.     * symbol.c: Added HAVE_STDLIB_H block.
  1189.  
  1190.     * matrix.c: Don't need stdlib.h include anymore.
  1191.  
  1192.     * config/config.hpux: Got access to an HP 9000/720, HP-UX 8.05.
  1193.     This config files has now been tested.
  1194.  
  1195.     * fi_1.c (matrix_Svd_Complex): Added "A", "S" abililty.
  1196.  
  1197.     * math_2.c (Svd): Added "S", "A", 2nd arg to svd() list.
  1198.  
  1199.     * bltin.c (Zero): Cast matrix_Create args to (int).
  1200.     (Ones): Cast matrix_Create args to (int).
  1201.  
  1202. Sat Jun 19 22:25:10 1993  Ian Searle  (ian@quixote)
  1203.  
  1204.     * init.c (rlab_bltin): Add _garbage function.
  1205.  
  1206.     * README.install: Update installation instructions for make
  1207.     install. 
  1208.  
  1209.     * Makefile (mkdir): Remove `rm' command from Makefile.
  1210.  
  1211.     * rlib/whos.r (whos): Calculate nbytes correctly for complex
  1212.     types. 
  1213.  
  1214.     * util.c (btree_get_node_names_what): Don't print builtin
  1215.     functions that begin with a `_'.
  1216.  
  1217.     * scan.l: Allow variable names that begin with a `_'.
  1218.  
  1219. Mon Jun 14 19:48:17 1993  Ian Searle  (ian@quixote)
  1220.  
  1221.     * toolbox/pinv.r (pinv): Fixed bug in tol calc.
  1222.  
  1223. Mon Jun  7 19:13:25 1993  Ian Searle  (ian@quixote)
  1224.  
  1225.     * Makefile (COPYDIR): Copy doc directory and config.h file during
  1226.     install. 
  1227.  
  1228.     * config/config.sun4: Add ifdef __GNUC__ to handle sys/ieeefp.h,
  1229.     and float.h
  1230.  
  1231.     * matrix_op2.c (matrix_gt_zero): Fix error message.
  1232.  
  1233. Sun Jun  6 09:10:12 1993  Ian Searle  (ian@quixote)
  1234.  
  1235.     * rlib/diff.r (diff): Finished appr. comments.
  1236.  
  1237. Sat Jun  5 19:14:07 1993  Ian Searle  (ian@quixote)
  1238.  
  1239.     * matrix_op2.c (matrix_scalar_Pow1): Fix op for exp <= 0.
  1240.  
  1241.     * fi_2.c (matrix_Schur): New function.
  1242.  
  1243. Wed Jun  2 23:08:04 1993  Ian Searle  (ian@quixote)
  1244.  
  1245.     *  Release Version 0.83 beta.
  1246.  
  1247. Mon May 31 17:40:45 1993  Ian Searle  (ian@quixote)
  1248.  
  1249.     * code.c (forcode): Fix scalar execution of loop.
  1250.     (forcode): Set limit properly when vec_expr is a scalar.
  1251.  
  1252. Sun May 30 09:22:34 1993  Ian Searle  (ian@quixote)
  1253.  
  1254.     * rlab.h: Added NUM type.
  1255.  
  1256.     * bltin.c (get_bltin_arg): Added NUM type
  1257.  
  1258.     * random.c (Rand): Use get_num_scalar_val more to reduce gc
  1259.     inefficiency. 
  1260.  
  1261.     * Release v0.82
  1262.  
  1263. Sat May 29 22:55:06 1993  Ian Searle  (ian@quixote)
  1264.  
  1265.     * rlib/plot.r: Added showterm(), setterm(), phrd().
  1266.  
  1267.     * scan.l: Changed NUMBER regexps so that `a.e1' (list member ref)
  1268.     won't ge confused with exponential form of NUMBER.
  1269.  
  1270. Wed May 26 17:52:16 1993  Ian Searle  (ian@quixote)
  1271.  
  1272.     * scan.l (rlab_yy_input): Signal() should be called with
  1273.     intcatch_wait as arg.
  1274.  
  1275.     * btree.c (btree_copy_nodes): Add UNDEF case.
  1276.  
  1277. Mon May 24 20:23:49 1993  Ian Searle  (ian@quixote)
  1278.  
  1279.     * removed testmatrices directory.
  1280.  
  1281.     * ode*: Mods to user-output capabilities.
  1282.  
  1283. Sun May 23 13:50:21 1993  Ian Searle  (ian@quixote)
  1284.  
  1285.     * toolbox/FFT2.r: New file.
  1286.  
  1287.     * toolbox/FFT.r: New file.
  1288.  
  1289.     * toolbox/hankel: New rfile.
  1290.  
  1291.     * toolbox/ode78.r: Added Uoutput.
  1292.  
  1293.     * rlib/ode23.r: Added Uoutput.
  1294.  
  1295.     * op_matrix.c (matrix_reshape_col): Try and make more efficient if
  1296.     input is already a column. 
  1297.  
  1298.     * matrix_op1.c (matrix_ne): Fix goof in REAL !+ COMPLEX, and
  1299.     COMPLEX != REAL.
  1300.  
  1301. Wed May 19 18:19:00 1993  Ian Searle  (ian@quixote)
  1302.  
  1303.     * bltin.c, btree.c: Add UNDEF case to write() options. 
  1304.  
  1305. Sat May 15 12:25:25 1993  Ian Searle  (ian@quixote)
  1306.  
  1307.     * code.c (ret_from_func): Use btree_FindNodeR.
  1308.  
  1309.     * btree.[ch] (btree_FindNodeR): New function.
  1310.  
  1311.     * test: Added lqr test to test-suite.
  1312.  
  1313.     * Makefile: Added install for rlab.1 (man-page).
  1314.  
  1315.     * Makefile: Clean LIBDIR before installing files.
  1316.  
  1317.     * scan.l: Use strtod() more often (replace sscanf()).
  1318.  
  1319. Fri May 14 21:46:25 1993  Ian Searle  (ian@quixote)
  1320.  
  1321.     * toolbox/*.r, rlib/*.r: Any files that neede class() or type()
  1322.     mods. 
  1323.  
  1324.     * code.c (list_member): Change type member results for
  1325.     consistency. 
  1326.  
  1327.     * btree.[ch] (btree_GetRealNumNodes): New function.
  1328.  
  1329.     * bltin.c (Type): More consistemcy changes.
  1330.  
  1331.     * bltin.c (Class): More consistemcy changes.
  1332.  
  1333.     * bltin.c (Show): Working on consistency.
  1334.  
  1335.     * main.c (warning_?): Check for s being an arg tag, print null
  1336.     string if so. 
  1337.  
  1338. Sun May  9 10:56:13 1993  Ian Searle  (ian@quixote)
  1339.  
  1340.     * examples/testmatrices/jordan.r: Removed "dummy" usage.
  1341.  
  1342.     * examples/testmatrices/krylov.r: Removed "dummy" usage.
  1343.  
  1344.     * examples/testmatrices/jordan.r: Removed "dummy" usage.
  1345.  
  1346.     * examples/testmatrices/cauchy.r: Removed "dummy" usage.
  1347.  
  1348.     * bltin.c (Ones, Zero): Onnly accept matrices with m*n == 2.
  1349.  
  1350.     * toolbox/rk4.r: Changes function names to match file name, fixed
  1351.     bug in calling rrk4(), y-argument.
  1352.  
  1353.     * code.c (assign): Don't check for "-" when assigning anymore. Not
  1354.     necessary cause there are always ENTITIES in function arg lists.
  1355.  
  1356.     * code.c (function_call): Don't label UNDEF args "dummy".
  1357.  
  1358.     * code.c (ret_from_func): Don't test args for key == 0 on clean. 
  1359.  
  1360.     * rlib/triu.r, tril.r: Remove "dummy" usage.
  1361.  
  1362.     * rlib/linspace.r: Remove "dummy" usage.
  1363.  
  1364.     * contrib/FFT.r, FFT2.r, hankel.r, toepltiz.r: Remove "dummy"
  1365.     usage. 
  1366.  
  1367.     * code.c (print): Check for BLTIN.
  1368.  
  1369.     * rlib/whos: Add check for arg exist.
  1370.  
  1371.     * rlib/ode23: Remove "dummy" usage, add checks
  1372.  
  1373.     * rlib/plot.r: Check N in plot()
  1374.  
  1375.     * rlib/redit.r: Remove "dummy" usage.
  1376.  
  1377.     * rlib/redit.r: Remove "dummy" usage.
  1378.  
  1379.     * rlib/pause.r: Remove "dummy" usage.
  1380.  
  1381.     * rlib/eye.r: Remove "dummy" usage.
  1382.  
  1383.     * rlib/diff.r: Remove "dummy" usage.
  1384.  
  1385.     * toolboz/ode78.r: Remove "dummy" usage.
  1386.  
  1387.     * toolbox/lagrange.r: Remove "dummy" usage.
  1388.  
  1389.     * toolbox/chop.r: Remove "dummy" usage.
  1390.  
  1391.     * toolbox/bandred.r: Remove "dummy" usage.
  1392.  
  1393.     * code.c (function_call): Push UNDEF on for non-existent args.
  1394.  
  1395. Sat May  8 11:19:30 1993  Ian Searle  (ian@quixote)
  1396.  
  1397.     * rlib/lu.r: New file, replaces old lu() built-in
  1398.  
  1399.     * /help/backsub: New file
  1400.  
  1401.     * help/factor: New file
  1402.  
  1403.     * fi_1.[ch]: Removed matrix_LU().
  1404.  
  1405.     * fi_2.c (matrix_Backsub): Added error checking
  1406.  
  1407. Thu May  6 22:51:34 1993  Ian Searle  (ian@quixote)
  1408.  
  1409.     * fi_2.c (matrix_Factor): new function.
  1410.  
  1411.     * fi_2.c (matrix_Backsub): New function
  1412.  
  1413. Tue May  4 19:31:38 1993  Ian Searle  (ian@quixote)
  1414.  
  1415.     * toolbox/erf.r: Added erfcc(). Mods to inverf().
  1416.  
  1417.     * main.c (rpclose): New function.
  1418.  
  1419.     * code.c (print): Mods to use `use_pager' flag when printing
  1420.     matrices. 
  1421.  
  1422. Mon May  3 21:37:21 1993  Ian Searle  (ian@quixote)
  1423.  
  1424.     * code.c (print): Add rule-of-thumb, to avoid using popen() so
  1425.     much. 
  1426.  
  1427. Sun May  2 13:14:39 1993  Ian Searle  (ian@quixote)
  1428.  
  1429.     * code.c (ret_from_func): fix screw-up in local list clean.
  1430.  
  1431.     * rlib/plot.r: Re-written.
  1432.  
  1433.     * toolbox/gamma.r: Mods, uses static, updates to any(), all()
  1434.     usage. Also fixed gamm[pq] arg blunder.
  1435.  
  1436. Sat May  1 16:53:17 1993  Ian Searle  (ian@quixote)
  1437.  
  1438.     * print.c (FPrintf): Check fp for NULL.
  1439.  
  1440. Fri Apr 30 23:27:11 1993  Ian Searle  (ian@quixote)
  1441.  
  1442.     * print.c (do_printf): Add check for strv == 0.
  1443.  
  1444. Thu Apr 29 18:16:10 1993  Ian Searle  (ian@quixote)
  1445.  
  1446.     * code.c (ret_from_func): Test rd.u.ent for NULL name ptr.
  1447.  
  1448. Wed Apr 28 19:04:21 1993  Ian Searle  (ian@quixote)
  1449.  
  1450.     * op_matrix.c (matrix_vec_assign): Mods to handle scalars at top. 
  1451.  
  1452.     * code.c (ret_from_fun): Handle local lists now.
  1453.  
  1454.     * op_matrix.c (matrix_assign): Mods to handle scalars at top.
  1455.  
  1456. Tue Apr 27 21:25:59 1993  Ian Searle  (ian@quixote)
  1457.  
  1458.     * rlib/ode23.r: More efficient, use a LIST inside ode23(), then
  1459.     use collapse() to return a matrix.
  1460.  
  1461.     * bltin.c (Diag): New function.
  1462.  
  1463.     * bltin.c (Ones): New function.
  1464.  
  1465. Sun Apr 25 11:17:09 1993  Ian Searle  (ian@quixote)
  1466.  
  1467.     * code.c (ret_from_func): Do not clean BTREE objects from local
  1468.     variable list.
  1469.  
  1470.     * matrix_op1.c (matrix_eq and related functions): Add ability to
  1471.     do strinf-matrix ops when one matrix is a 1-by-1.
  1472.  
  1473.     * relation.c: All functions. Use switch, additions for
  1474.     matrix-string rel-ops.
  1475.  
  1476.     * matrix_op2.c: New functions... matrix_string_??().
  1477.  
  1478.     * code.c (execute): in OP_POP_CLEAN, add test for non-null entity
  1479.     type. 
  1480.  
  1481.     * matrix_op1.c (matrix_Multiply??): Add check for either A or B
  1482.     being an empty matrix, return an empty matrix.
  1483.  
  1484.     * util.c (convert_all_to_matrix): Changed d to new in
  1485.     string-matrix convert.
  1486.  
  1487. Sat Apr 24 11:22:56 1993  Ian Searle  (ian@quixote)
  1488.  
  1489.     * btree.c (btree_Print): Print <<>> for empty-list, even when list
  1490.     has UNDEFs.
  1491.  
  1492.     * bltin.c (Exist): New function
  1493.  
  1494.     * rlib/plot.r: Make pinfo static.
  1495.  
  1496. Fri Apr 23 23:38:39 1993  Ian Searle  (ian@quixote)
  1497.  
  1498.     * rlab.y, scan.l, main.c: Started addition of fstatic()
  1499.     declaration. 
  1500.  
  1501. Wed Apr 21 19:29:08 1993  Ian Searle  (ian@quixote)
  1502.  
  1503.     * code.c (find_file_name): Go straight to file name since we know
  1504.     exactly where it is.
  1505.  
  1506. Tue Apr 20 16:47:34 1993  Ian Searle  (ian@quixote)
  1507.  
  1508.     * code.c (forcode): This is really where yesterday's list-bug was
  1509.     lurking. The problem was not installing tmp for-vectors on the
  1510.     tmp-list. 
  1511.  
  1512. Mon Apr 19 19:38:39 1993  Ian Searle  (ian@quixote)
  1513.  
  1514.     * r_string.c (string_Read): Use fscanf() instead of getc() to get
  1515.     the last \n. This seems to work ?.
  1516.  
  1517.     * list.c (list_DetachNodeByAddr): Added check for n == 0. This may
  1518.     happen in some rare cases when the list is really clean.
  1519.  
  1520.     * code.c (ifcode, whilecode): Handle empty matrices as if(),
  1521.     while() args (eval to 0).
  1522.  
  1523.     * bltin.c (Read): Try and print out type if failure.
  1524.  
  1525.     * rlib/sign.r: Removed scalar option.
  1526.  
  1527.     * rlib/fix.r: New file
  1528.  
  1529.     * config/config.linux: Updated file from F.F.Yap.
  1530.  
  1531. Sun Apr 18 12:16:05 1993  Ian Searle  (ian@quixote)
  1532.  
  1533.     * Release version 0.75 beta
  1534.  
  1535.     * rlib/ode23.r: Mods to make ode23() operate on column solutions,
  1536.     and independent of y0 orientation.
  1537.  
  1538.     * toolbox/ode78.r: New function (from netlib).
  1539.  
  1540. Sat Apr 17 09:27:52 1993  Ian Searle  (ian@quixote)
  1541.  
  1542.     * toolbox/poly.r: Updated all() usage.
  1543.  
  1544.     * rlab.y: Moved function assign production to statement level so
  1545.     that trailing newline, or semicolon can be left out.
  1546.  
  1547.     * test: Incorporated getline() tests into test.
  1548.  
  1549. Thu Apr 15 19:46:57 1993  Ian Searle  (ian@quixote)
  1550.  
  1551.     * getline.c: Overhauled getline_scanner(), collect_decinal(), and
  1552.     collect_string() so that getline() will handle EOF.
  1553.  
  1554. Wed Apr 14 20:35:08 1993  Ian Searle  (ian@quixote)
  1555.  
  1556.     * test: Added a few more simple function tests.
  1557.  
  1558. Mon Apr 12 18:58:01 1993  Ian Searle  (ian@quixote)
  1559.  
  1560.     * util.c (convert_to_matrix): Removed call to remove_tmp_detroy(),
  1561.     to fix chol(1+1i) core dump.
  1562.  
  1563. Sun Apr 11 10:21:28 1993  Ian Searle  (ian@quixote)
  1564.  
  1565.     * rlib/cum[sum|prod].r: Re-write per Brad's suggestion (more
  1566.     efficient). 
  1567.  
  1568.     * init.c: Ordered bltin table for faster lookup.
  1569.  
  1570.     * util.[ch] (convert_all_to_matrix): New function.
  1571.  
  1572.     * op_matrix.c (matrix_vector_sub): Allow s[1] to work for a scalar
  1573.     string. 
  1574.  
  1575.     * bltin.c (Size, Length): Change the way we report on strings.
  1576.  
  1577.     * code.c (list_member): Add n, nr, nc as string attributes.
  1578.  
  1579. Sat Apr 10 10:46:00 1993  Ian Searle  (ian@quixote)
  1580.  
  1581.     * config.*: Fixed up obsolete comments around #include <float.h>
  1582.  
  1583.     * fi_1.c (matrix_inverse_?): Add call to matrix_Rcond() to check
  1584.     for ill-conditioned input.
  1585.  
  1586. Sun Apr  4 15:02:21 1993  Ian Searle  (ian@quixote)
  1587.  
  1588.     * fi_1.c (matrix_is_symmetric): Removed.
  1589.  
  1590. Sat Apr  3 00:05:57 1993  Ian Searle  (ian@quixote)
  1591.  
  1592.     * r_string.c (string_Read): Handle zero length string, and newline
  1593.     correctly. 
  1594.  
  1595.     * code.c (assign): Fix bungle in assign symbol table.
  1596.  
  1597.     * Copied bandred from testmatrices to toolbox.
  1598.  
  1599.     * Added contrib directory.
  1600.  
  1601.     * print.c (Close): Change test from `== 0' to `!= 1'.
  1602.  
  1603.     * test: Added tests for some of the more basic builtin functions
  1604.     (abs, max, sum, floor,...).
  1605.  
  1606.     * matrix_op1.c (matrix_Abs): Add #define rabs...
  1607.  
  1608.     * util.c (get_num_scalar_val): Put break where appropriate.
  1609.  
  1610. Fri Apr  2 20:50:05 1993  Ian Searle  (ian@quixote)
  1611.  
  1612.     * Many changes to get **return_ptr correct.
  1613.  
  1614.     * many small changes to get gcc -Wall  to shut up.
  1615.  
  1616.     * rfile.c (print_rfiles): Add extra space, and fflush() to force
  1617.     popen'ed ptr to behave correctly.
  1618.  
  1619.     * fi_1.c, matrix.c: Put #define rabs in.
  1620.  
  1621.     * util.c (btree_get_node_names): return a row matrix.
  1622.  
  1623.     * rlab.y, scan.l, symbol.[ch], util.c: Added $$ as globla symbol
  1624.     table constant.
  1625.  
  1626. Thu Apr  1 18:44:55 1993  Ian Searle  (ian@quixote)
  1627.  
  1628.     * Changed many error_1 messages, `wrong #' to Wrong number'.
  1629.  
  1630.     * main.c (warning_?): Fixed fprintf FILE ptr arg.
  1631.  
  1632. Wed Mar 31 19:24:13 1993  Ian Searle  (ian@quixote)
  1633.  
  1634.     * bltin.c (Length): Make compatible (partly) with Matlab.
  1635.  
  1636.     * alloca.c: Add #ifndef __GNUC__ to elminate supplied alloca if
  1637.     gcc is being used.
  1638.  
  1639.     * config/config.NeXT: Uncomment HAVE_PROTOTYPES, remove
  1640.     declarations at end of file.
  1641.  
  1642. Tue Mar 30 23:26:35 1993  Ian Searle  (ian@quixote)
  1643.  
  1644.     * code.c (list_el_create): Allow U_FUNCTION as valid type in
  1645.     switch. 
  1646.  
  1647. Sun Mar 28 11:24:02 1993  Ian Searle  (ian@quixote)
  1648.  
  1649.     * matrix_op1.c (matrix_El_Div): use matrix_screen_string().
  1650.  
  1651.     * bltin.c (CD): New function.
  1652.  
  1653.     * op_matrix.c (matrix_create): fix [2i], initialize real part.
  1654.  
  1655.     * toolbox/redit.r: New rfile.
  1656.  
  1657.     * scan.l: Take lineno++ out of # comment rule.
  1658.  
  1659. Sat Mar 27 09:27:01 1993  Ian Searle  (ian@quixote)
  1660.  
  1661.     * Now release v0.70.
  1662.  
  1663.     * op_matrix.c (matrix_stack): Fix type checking error in [1+2i;2]
  1664.     operation. 
  1665.  
  1666. Fri Mar 26 23:00:34 1993  Ian Searle  (ian@quixote)
  1667.  
  1668.     * Version 0.70 beta released.
  1669.  
  1670.     * scan.l: Added `#' as a commnet, now we can `#!/bin/rlab' our
  1671.     scripts. 
  1672.  
  1673. Wed Mar 24 00:02:06 1993  Ian Searle  (ian@quixote)
  1674.  
  1675.     * code.c (list_member): Make attribute look-up more consistent. 
  1676.  
  1677.     * bltin.c (Length): New function.
  1678.  
  1679.     * math_2.c (Sort): Make sort() a vector function.
  1680.  
  1681. Tue Mar 23 21:02:01 1993  Ian Searle  (ian@quixote)
  1682.  
  1683.     * matrix_op1.c (matrix_Any, matrix_All): Change to vector
  1684.     functions. 
  1685.  
  1686.     * util.c (get_datum_value): Fixed bug in extracting from 1-by-1.
  1687.  
  1688.     * matrix_op1.c: Most of the matrix relational functions. Added
  1689.     ability to recognize 1-by-1 matrices, and perform correct check.
  1690.  
  1691. Mon Mar 22 10:55:43 1993  Ian Searle  (ian@quixote)
  1692.  
  1693.     * rlab.y: Added production to opt_arg_list:
  1694.  
  1695.           | ',' error              { $$.count = 0; $$.off = 0; }
  1696.  
  1697.           The purpose of this rule is to prevent `sqrt ( , 2 )' from being
  1698.       a valid expression.
  1699.  
  1700. Sun Mar 21 23:02:59 1993  Ian Searle  (ian@quixote)
  1701.  
  1702.     * matrix_op2.c (matrix_Rdivide): Special case 1x1.
  1703.  
  1704. Sat Mar 20 14:36:19 1993  Ian Searle  (ian@quixote)
  1705.  
  1706.     * scan.l, rlab.y, code.[ch], dissasem.c, matrix_op1.[ch]: Added
  1707.     non-conjugate matrix transpose (.')
  1708.  
  1709.     * op.c (ent_ent_el_ldivide): Fixed typo in argument order.
  1710.  
  1711.     * op.c (rdivide, ldivide): Force all entities to be matrices, let
  1712.     low-level function determine appropriatness of dimensions.
  1713.  
  1714. Wed Mar 17 19:28:13 1993  Ian Searle  (ian@quixote)
  1715.  
  1716.     * btree.c (btree_Print): Change empty list printf().
  1717.  
  1718. Tue Mar 16 00:18:05 1993  Ian Searle  (ian@quixote)
  1719.  
  1720.     * matrix_op1.c (matrix_scalar_div2): Fix so 2./(1:3) works.
  1721.  
  1722.     * matrix_op1.c: Changes to handle [A] binop [3] conditions.
  1723.  
  1724. Mon Mar 15 20:56:18 1993  Ian Searle  (ian@quixote)
  1725.  
  1726.     * util.c (get_datum_value): Fix it so the function returns the
  1727.     value from a 1x1 matrix.
  1728.  
  1729.     * matrix_op2.[ch] (max, min): Modified max(), min() functions to
  1730.     behave more like MATLAB counterparts.
  1731.  
  1732.     * bltin.c (Reshape): mods to get rid of convert_to_scalar calls.
  1733.  
  1734.     * bltin.c (Scalar_cast, Matrix_cast): modified logix to get rid of
  1735.     convert_to_scalar().
  1736.  
  1737.     * print.c (SPrintf): Make sprintf() create the 1st argument if it
  1738.     is UNDEFINED.
  1739.  
  1740.     * math_1.c: Added
  1741.  
  1742.       if (targ.u.ent != arg.u.ent)
  1743.         remove_tmp_destroy (targ.u.ent);
  1744.       return;
  1745.  
  1746.       To all clean up temporary Datums when using convert_to_scalar.
  1747.  
  1748.  
  1749. Sun Mar 14 10:10:04 1993  Ian Searle  (ian@quixote)
  1750.  
  1751.     * scalar_op1.[ch], matrix_op1.[ch], complex.[ch], trig.c: add
  1752.     complex arc-trig functions.
  1753.  
  1754.     * scalar_op1.[ch], complex.[ch], trig.c, matrix_op1.[ch]: Add
  1755.     complex tangent.
  1756.  
  1757.     * rlab.y, code.[ch], dissamsem.c: Add `[:]' operation.
  1758.  
  1759. Sat Mar 13 12:34:46 1993  Ian Searle  (ian@quixote)
  1760.  
  1761.     * math_3.c (FFT): Add matrix fft capability.
  1762.  
  1763. Fri Mar 12 19:05:19 1993  Ian Searle  (ian@quixote)
  1764.  
  1765.     * op_matrix.c (matrix_transpose): Fix scalar complex transpose.
  1766.  
  1767.     * code.c (forcode): Add complex loop capability.
  1768.  
  1769.     * math_2.c (Chol, Det): Make them accept scalars as arguments.
  1770.  
  1771.     * math_2.c (Balance, Rcond): Make them accept scalars as arguments.
  1772.  
  1773.     * matrix.c (matrix_Print*): Add format for empty matrices.
  1774.  
  1775. Thu Mar 11 20:46:11 1993  Ian Searle  (ian@quixote)
  1776.  
  1777.     * math_1.c (Lu): Mods to handle scalar args.
  1778.  
  1779.     * eye.r: Mods to deal with new zeros().
  1780.  
  1781.     * bltin.c (Zero): Mods to allow it too handle combinations of
  1782.     matrices, and scalars.
  1783.  
  1784.     * rlab.y (yyparse): Small twiddle to newline production.
  1785.  
  1786. Tue Mar  9 19:49:06 1993  Ian Searle  (ian@quixote)
  1787.  
  1788.     * code.[ch], rlab.y, dissasem.c: Add OP_EMPTY_MATRIX_CREATE.
  1789.  
  1790.     * matrix.c (extraction functions): Small changes to extraction
  1791.     functions to handle NULL index matrices.
  1792.  
  1793.     * matrix_op2.c (matrix_Find): Fix logic around realloc() to avoid
  1794.     calling realloc with a zero argument.
  1795.  
  1796. Mon Mar  8 19:52:17 1993  Ian Searle  (ian@quixote)
  1797.  
  1798.     * op_matrix.c (matrix_sub): Make double indexing error checking
  1799.     behave like single indexing error-checking.
  1800.  
  1801.     * code.c (function_call): Convert CONSTANT args to scalars. 
  1802.  
  1803.     * matrix_op2.c (matrix_Find): Check for empty matrix when
  1804.     realloc'ing. 
  1805.  
  1806.     * matrix_op2.c (Prod): Fix complex products.
  1807.  
  1808. Sat Mar  6 11:31:50 1993  Ian Searle  (ian@quixote)
  1809.  
  1810.     * matrix.c (matrix_Write): Increased number of significant digits
  1811.     for output.
  1812.  
  1813.     * fi_[12].c: Remove the dependencies on f2c.h.
  1814.  
  1815. Fri Mar  5 17:16:41 1993  Ian Searle  (ian@quixote)
  1816.  
  1817.     * bltin.c (Show): Check for NULL names.
  1818.  
  1819. Sun Feb 28 10:25:53 1993  Ian Searle  (ian@quixote)
  1820.  
  1821.     * code.c (list_member): Made SCALAR attributes cosistent with
  1822.     MATRIX attributes.
  1823.  
  1824.     * matrix_op2.c (matrix_scalar_Pow): New function.
  1825.  
  1826.     * version.h: Changed version string. I am makeing the switch to
  1827.     BETA status.
  1828.  
  1829.     * matrix_op2.c (matrix_Max/matrix_Min): Small changes to
  1830.     algorithms. 
  1831.  
  1832. Thu Feb 25 20:26:41 1993  Ian Searle  (ian@quixote)
  1833.  
  1834.     * matrix.[ch]: matrix_ExtractElement, matrix_ExtractColumn,
  1835.     matrix_ExtractRow: new functions.
  1836.  
  1837.     * op_matrix.c (matrix_sub): Modify function loginc to improve
  1838.     speed. 
  1839.  
  1840. Tue Feb 23 21:11:34 1993  Ian Searle  (ian@quixote)
  1841.  
  1842.     * Incorporated config.NeXT, and NeXT patches.
  1843.  
  1844. Mon Feb 22 20:10:56 1993  Ian Searle  (ian@quixote)
  1845.  
  1846.     * math_2.c (Sort): Finished adding sort() features, complex,
  1847.     scalars, etc...
  1848.  
  1849. Sun Feb 21 15:46:49 1993  Ian Searle  (ian@quixote)
  1850.  
  1851.     * main.c, code.c, rlab.h, fi_[12].c: Changed way we catch SIGINT.
  1852.  
  1853.     * math_3.c, matrix_op2.[ch]: Added builtin versions of sum(),
  1854.     prod().
  1855.  
  1856. Tue Feb 16 21:21:59 1993  Ian Searle  (ian@quixote)
  1857.  
  1858.     * scalar.c (scalar_Create): Mods for small speedup.
  1859.  
  1860.     * list_node.[ch] (listNode_IsNodeAttached): Replace function with
  1861.     a macro in an attempt to speed things up.
  1862.  
  1863. Mon Feb 15 20:55:30 1993  Ian Searle  (ian@quixote)
  1864.  
  1865.     * test: Added matrix multiply tests.
  1866.  
  1867.     * matrix_op1.c (matrix_Mul??): Mods to handle A or B 1x1.
  1868.  
  1869.     * mm.c (ccmpy): Modified for a little more speed (courtesy Fook
  1870.     Fah). 
  1871.  
  1872. Sat Feb 13 21:00:48 1993  Ian Searle  (ian@quixote)
  1873.  
  1874.     * mm.c: New file.
  1875.  
  1876.     * matrix_op1.c (matrix_Mul??): Use contributed C matrix multiply
  1877.     code (faster).
  1878.  
  1879. Fri Feb 12 23:26:11 1993  Ian Searle  (ian@quixote)
  1880.  
  1881.     * code.c (list_member): Add member refs for CONSTANTs.
  1882.  
  1883.     * code.c (list_member): Add `.n' as scalar member.
  1884.  
  1885. Tue Feb  9 17:56:25 1993  Ian Searle  (ian@quixote)
  1886.  
  1887.     * math_2.c (MaxI/MinI): maxi()/mini() now return a scalar index
  1888.     value. 
  1889.  
  1890. Mon Feb  8 18:34:55 1993  Ian Searle  (ian@quixote)
  1891.  
  1892.     * code.c (forcode): Yet another change. Now for() will handle
  1893.     CONSTANTs were there should be vectors, without barfing.
  1894.  
  1895.     * math_2.c (Sort): sort() now returns a list of the sorted vector,
  1896.     and the sorted indices.
  1897.  
  1898.     * code.c (list_create): Remove erroneous call to
  1899.     convert_to_scalar().
  1900.  
  1901.     * matrix.c (matrix_assign_vector): Add calls to matrix_Extend() to
  1902.     handle empty matrix RHS.
  1903.  
  1904.     * code.c (forcode): Now for-loops will handle user changing loop
  1905.     vector in the middle of loop execution.
  1906.  
  1907. Sun Feb  7 22:32:58 1993  Ian Searle  (ian@quixote)
  1908.  
  1909.     * math_1.c (Inv): Allow scalars as well as matrices.
  1910.  
  1911.     * code.c (forcode): Fixed STUPID bug in loop-vector destroy logic
  1912.     (there was none).
  1913.  
  1914. Sat Feb  6 11:07:32 1993  Ian Searle  (ian@quixote)
  1915.  
  1916.     * matrix_op2.c (matrix_[LR]divide): Add test to use solve_eq()
  1917.     when A is square.
  1918.  
  1919.     * matrix.c (matrix_CreateFill): Add empty vector creation
  1920.     capability. 
  1921.  
  1922.     * code.c (forcode): Add no-execute capability/test.
  1923.  
  1924. Fri Feb  5 19:03:45 1993  Ian Searle  (ian@quixote)
  1925.  
  1926.     * rlab.y, scan.l: Made rfile, and help commands more versatile.
  1927.  
  1928.     * math_2.c (MinI): Fix subscripts on m.
  1929.  
  1930.     * matrix_op2.c (matrix_Max): Fixed complex max(). maxc.r = 0.0,
  1931.     NOT maxc.r = -DBL_MAX. Same for matrix_Min().
  1932.  
  1933. Tue Feb  2 21:41:37 1993  Ian Searle  (ian@quixote)
  1934.  
  1935.     * matrix.c (matrix_CreateFill): Change d = ... use abs(d3).
  1936.  
  1937. Mon Feb  1 23:21:31 1993  Ian Searle  (ian@quixote)
  1938.  
  1939.     * matrix_op2.c (matrix_Mod): Added complex matrices.
  1940.  
  1941.     * math_1.c (Mod): Better type checking. Handles complex args now.
  1942.  
  1943.     * complex.[ch] (complex_Mod): new function.
  1944.  
  1945. Sun Jan 31 13:20:11 1993  Ian Searle  (ian@quixote)
  1946.  
  1947.     * matrix_op2.c (matrix_Mod): Add some error/type checking.
  1948.  
  1949. Fri Jan 29 23:48:42 1993  Ian Searle  (ian@quixote)
  1950.  
  1951.     * Makefile: Still trying to make friendlier.
  1952.  
  1953. Thu Jan 28 17:31:22 1993  Ian Searle  (ian@quixote)
  1954.  
  1955.     * matrix_op2.[ch] (matrix_Mod): New function.
  1956.  
  1957.     * matrix.c (matrix_print_complex): Fix sign in sprintf().
  1958.  
  1959.     * code.c (assign): Change "-1" to "-" for strncmp.
  1960.  
  1961. Wed Jan 27 22:27:02 1993  Ian Searle  (ian@quixote)
  1962.  
  1963.     * bltin.c (Size): try returning size = 1x1 for SCALAR.
  1964.  
  1965. Tue Jan 26 20:03:52 1993  Ian Searle  (ian@quixote)
  1966.  
  1967.     * main.c, rlab.y: Mods to error printing. Leave filename, line
  1968.     number off when reading from stdin.
  1969.  
  1970. Mon Jan 25 22:40:06 1993  Ian Searle  (ian@quixote)
  1971.  
  1972.     * version.h: New file.
  1973.  
  1974.     * bltin.c, matrix_op2.[ch]: Moved matrix_Find() to matrix_op2.c.
  1975.  
  1976.     * getline.c, print.c, scan.h: Moved scancode[][ into getline.c
  1977.  
  1978. Fri Jan 22 00:10:52 1993  Ian Searle  (ian@quixote)
  1979.  
  1980.     * rlab.y: Starting on if statement syntax rework.
  1981.  
  1982.     * bltin.c (Find): New function.
  1983.  
  1984.     * main.c (warning_?): Check (s == 0).
  1985.  
  1986. Sun Jan 17 12:37:11 1993  Ian Searle  (ian@quixote)
  1987.  
  1988.     * bltin.c (All): Make scalar args allowable.
  1989.  
  1990.     * bltin.c (Any): Make scalar args allowable.
  1991.  
  1992.     * scan.l (new_file): Made minor change so tha ctrl-d (EOF) now
  1993.     stops execution.
  1994.  
  1995. Fri Jan 15 19:55:57 1993  Ian Searle  (ian@quixote)
  1996.  
  1997.     * dissasem.c: Changed output formats.
  1998.  
  1999.     * main.c, rlab.y: Add line_nos.
  2000.  
  2001. Thu Jan 14 18:19:26 1993  Ian Searle  (ian@quixote)
  2002.  
  2003.     * code.c (function_default_ret): A few more touches on argument
  2004.     cleaning. 
  2005.  
  2006. Wed Jan 13 19:27:36 1993  Ian Searle  (ian@quixote)
  2007.  
  2008.     * code.c (ret_from_func): Finally got garbage-collection for
  2009.     function args right (I hope :-).
  2010.  
  2011. Sun Jan 10 15:14:12 1993  Ian Searle  (ian@quixote)
  2012.  
  2013.     * code.c (list_member): Add "type" to string elements.
  2014.  
  2015. Fri Jan  8 22:09:53 1993  Ian Searle  (ian@quixote)
  2016.  
  2017.     * scan.l (new_file): Twiddle with lineno to get it right AFTER a
  2018.     load(), or rfile command.
  2019.  
  2020. Wed Jan  6 21:59:50 1993  Ian Searle  (ian@quixote)
  2021.  
  2022.     * code.c, rlab.y (list_assign): Fix it so that `a.[i] = a'. Caused
  2023.     a chang in generated op-codes in rlab.y.
  2024.  
  2025. Tue Jan  5 22:50:47 1993  Ian Searle  (ian@quixote)
  2026.  
  2027.     * random.c (Rand): Fixed rand(m,n).
  2028.  
  2029. Sat Jan  2 18:23:59 1993  Ian Searle  (ian@quixote)
  2030.  
  2031.     * rlab.y: mods to STRING ptr handling.
  2032.  
  2033.     * main.c: Add ip option. Use cat(1) as pager if -p is specified. 
  2034.  
  2035. Fri Jan  1 11:49:53 1993  Ian Searle  (ian@quixote)
  2036.  
  2037.     * getline.c (getline_scanner): Added quoted string scanning
  2038.     capability. 
  2039.  
  2040.     * print.c (get_file_ds): Use mode argument in popen() call.
  2041.  
  2042. Thu Dec 31 16:20:11 1992  Ian Searle  (ian@quixote)
  2043.  
  2044.     * getline.c: New File
  2045.  
  2046.     * scan.h: New File
  2047.  
  2048. Wed Dec 30 14:42:06 1992  Ian Searle  (ian@quixote)
  2049.  
  2050.     * matrix_op2.[ch]: Changed matrix_ReadColumn() to
  2051.     matrix_ReadGeneric(), added matrix_WriteGeneric().
  2052.  
  2053.     * bltin.c: Changed ReadV() to ReadM(). Added WriteM().
  2054.  
  2055. Tue Dec 29 09:30:53 1992  Ian Searle  (ian@quixote)
  2056.  
  2057.     * rfile.c: set pfile = 0 after successful pclose().
  2058.  
  2059.     * code.c (print): Set pfile = 0 after succesful pclose().
  2060.  
  2061. Wed Dec 23 16:56:11 1992  Ian Searle  (ian@quixote)
  2062.  
  2063.     * print.c (rfile_Destroy): Fixed braces on outside if.
  2064.  
  2065. Sat Dec 19 21:00:28 1992  Ian Searle  (ian@quixote)
  2066.  
  2067.     * print.c (do_printf): Changed error messages, and added another
  2068.     argcnt check.
  2069.  
  2070. Sun Dec 13 14:09:37 1992  Ian Searle  (ian@quixote)
  2071.  
  2072.     * matrix.c (matrix_Read): Fix complex read indexing
  2073.     (NWRITE+start-1). 
  2074.  
  2075.     * matrix.c (matrix_write_real): Fix `columns X through Y' output. 
  2076.  
  2077.     * math_2.c (Eig): Add calls to matrix_SetName().
  2078.  
  2079.     * lots!: Changed copy_string_ptr() to cpstr().
  2080.  
  2081. Thu Dec 10 19:23:42 1992  Ian Searle  (ian@quixote)
  2082.  
  2083.     * code.c (print): Print to stdout if popen() fails.
  2084.  
  2085.     * bltin.c (Read): close file after reading
  2086.  
  2087.     * matrix.c (matrix_Read): Fixe for-test while scanf'ing.
  2088.  
  2089. Sun Dec  6 13:00:50 1992  Ian Searle  (ian@quixote)
  2090.  
  2091.     * main.c (pipecatch): New function.
  2092.  
  2093.     * rfile.c: Make FILE *pfile static so we can pclose() if SIGPIPE
  2094.     occured. 
  2095.  
  2096.     * code.c (print): Use popen() for matrix output.
  2097.  
  2098.     * main.c (run): Catch SIGPIPE.
  2099.  
  2100. Fri Dec  4 17:27:08 1992  Ian Searle  (ian@quixote)
  2101.  
  2102.     * rfile.c (print_rfiles): Test for nfile == 0.
  2103.  
  2104. Thu Dec  3 19:57:50 1992  Ian Searle  (ian@quixote)
  2105.  
  2106.     * main.c (main): Add -l option.
  2107.  
  2108.     * main.c: Remove RLAB_LS_CMD.
  2109.  
  2110. Wed Dec  2 18:19:27 1992  Ian Searle  (ian@quixote)
  2111.  
  2112.     * Put power-op higher in precedence than unary-minus
  2113.  
  2114. Mon Nov 30 20:11:14 1992  Ian Searle  (ian@quixote)
  2115.  
  2116.     * math_2.c (Sort): Added string sort.
  2117.  
  2118.     * rfile.c: Finish up, still crude, but functionality is there.
  2119.  
  2120. Sun Nov 29 22:08:09 1992  Ian Searle  (ian@quixote)
  2121.  
  2122.     * rfiile.c (help): Moved help functionality to rfile.c
  2123.  
  2124. Sat Nov 28 21:10:43 1992  Ian Searle  (ian@quixote)
  2125.  
  2126.     * rlab.y: Move HELP, and RFILE productions up to program:
  2127.  
  2128.     * rfile.c: New file.
  2129.  
  2130. Mon Nov 23 23:16:39 1992  Ian Searle  (ian@quixote)
  2131.  
  2132.     * rlab.y: Clean-ups, comments.
  2133.  
  2134. Sun Nov 22 10:26:00 1992  Ian Searle  (ian@quixote)
  2135.  
  2136.     * Released v0.30.
  2137.  
  2138.     * Fixed goof in rlab.y ( parens around vec_expr ).
  2139.  
  2140.     * mathl.c: New file
  2141.  
  2142.     * rlab.y: Added '(' vec_expr ')' to vec_expr: rule.
  2143.  
  2144.     * mem.c (xmalloc, xrealloc): New functions. Now (hopefully) people
  2145.     can use most any compiler, and the provided alloca.c, and not get
  2146.     unresolved externals.
  2147.  
  2148.     * matrix.c (matrix_print_real): Use sprintf() now.
  2149.  
  2150.     * math_1.c (Round) New function, uses math library rint().
  2151.  
  2152. Sat Nov 21 22:13:34 1992  Ian Searle  (ian@quixote)
  2153.  
  2154.     * bltin.c (tic, toc): New functions.
  2155.  
  2156.     * scan.l, rlab.y: Trying to get error handling right so that the
  2157.     extra newline isn't needed.
  2158.  
  2159. Fri Nov 20 19:21:05 1992  Ian Searle  (ian@quixote)
  2160.  
  2161.     * fi_1.c (matrix_Norm): Fix 2-norm mistake.
  2162.  
  2163.     * bltin.c (Inf): New function.
  2164.  
  2165. Thu Nov 19 20:11:32 1992  Ian Searle  (ian@quixote)
  2166.  
  2167.     * scan.l (new_file): Fixed lineno bug, wasn't setting correct
  2168.     value in lnstack[].
  2169.  
  2170.     * config.h: Added choices for CONST, and BIG_ENDIAN,
  2171.     LITTLE_ENDIAN. 
  2172.  
  2173.     * bltin.c (Nan): New function.
  2174.  
  2175. Wed Nov 18 20:51:26 1992  Ian Searle  (ian@quixote)
  2176.  
  2177.     * config.h: Added option to use errno checking, or matherr().
  2178.  
  2179.     * bltin.c (matherr): New function.
  2180.  
  2181. Mon Nov 16 19:11:54 1992  Ian Searle  (ian@quixote)
  2182.  
  2183.     * bltin.c, main.c, scalar.c, matrix.c: Changed format() operation.
  2184.     Now format() works on REAL and COMPLEX.
  2185.  
  2186.     * main.c (init_misc): popen() FILE *paged_output, for paged matrix
  2187.     output. 
  2188.  
  2189.     * main.c: Removed inc_jmp_buff... and dec_jmp.... Replaced with
  2190.     jmp1, jmp2. Two simple variables should do the job.
  2191.  
  2192.     * scan.l (new_file): bptr = 0, if arg = 0.
  2193.  
  2194. Sun Nov 15 12:08:42 1992  Ian Searle  (ian@quixote)
  2195.  
  2196.     * matrix_*.c, bltin.c: Add calls to matrix_screen_string().
  2197.  
  2198.     * matrix.h (matrix_screen_string): Check for MTYPE == STRING, if
  2199.     TRUE, issue warning and longjmp().
  2200.  
  2201. Sat Nov 14 14:05:58 1992  Ian Searle  (ian@quixote)
  2202.  
  2203.     * sscan.l (new_file): Another overhaul, maybe someday I'll get it
  2204.     right.
  2205.  
  2206.     * rlab.y: Removed YYERROR usage, and replaced with longjmp().
  2207.  
  2208. Fri Nov 13 20:54:28 1992  Ian Searle  (ian@quixote)
  2209.  
  2210.     * main.c: Make jmp_buff an array. Change setjmp() call when
  2211.     loopong through filename arguments. If we run out of jmp_buff[]
  2212.     array, then STOP program.
  2213.  
  2214. Wed Nov 11 23:11:30 1992  Ian Searle  (ian@quixote)
  2215.  
  2216.     * matrix_op1.c (matrix_MultiplyCC): Call BLAS-3 ZGEMM().
  2217.  
  2218. Tue Nov 10 19:06:47 1992  Ian Searle  (ian@quixote)
  2219.  
  2220.     * matrix.c (matrix_CreateCLoad): Fixed bad matrix ref.
  2221.  
  2222.     * matrix.c (matrix_read_string): Completed.
  2223.  
  2224. Mon Nov  9 20:00:24 1992  Ian Searle  (ian@quixote)
  2225.  
  2226.     * !!! ADDITIONS TO LAPACK-C LIBRARY !!!
  2227.  
  2228.     * matrix_op2.c (matrix_Ldivide): Checks appropriate dimensions and
  2229.     calls matrix_LS.
  2230.  
  2231.     * fi_2.c (matrix_LS): New functions.
  2232.  
  2233.     * fi_1.c, fi_2.c: New files.
  2234.  
  2235.     * fi.c (matrix_Norm): The 2-norm is the ration of 1st/last
  2236.     singular values.
  2237.  
  2238. Sun Nov  8 10:39:10 1992  Ian Searle  (ian@quixote)
  2239.  
  2240.     * op_matrix.c (matrix_*_assign): Add call to matrix_gt_zero() to
  2241.     check indices for validity.
  2242.  
  2243.     * matrix_op2.c (matrix_gt_zero): New function
  2244.  
  2245.     * op_matrix.c (matrix_*_assign): Create LHS after looking at RHS
  2246.     type. 
  2247.  
  2248.     * op_append.c (matrix_string_app): Fix indexing bug that went
  2249.     passed end of array.
  2250.  
  2251.     * random.c (SRand): Add "clock" arg to enable setting seed from
  2252.     the clock.
  2253.  
  2254. Mon Nov  2 18:54:49 1992  Ian Searle  (ian@quixote)
  2255.  
  2256.     * matrix_op1.c (Sqrt, Log,...): Check for argument elements less
  2257.     than 0.
  2258.  
  2259.     * scalar_op1.c, matrix_op1.c (Log10): Added complex log10()
  2260.     capability. 
  2261.  
  2262.     * op_matrix.c (matrix_sub): Fix reduction of matrix string to
  2263.     scalar string.
  2264.  
  2265.     * matrix.c (matrix_print_string): Check for NULL ptrs before using
  2266.     strlen(). 
  2267.  
  2268.     * matrix.c (matrix_CreateS): Init string ptrs to 0 (for now).
  2269.  
  2270.     * util.c (print_What): Set unused matrix string ptrs to NULL
  2271.     string. 
  2272.  
  2273. Sun Nov  1 15:54:36 1992  Ian Searle  (ian@quixote)
  2274.  
  2275.     * matrix.[ch], op_append.c, op_matrix.c: Started in on adding
  2276.     matrices that contain STRING elements.
  2277.  
  2278. Sat Oct 31 11:34:13 1992  Ian Searle  (ian@quixote)
  2279.  
  2280.     * code.c, (ret_from_function): Do not try and clean argument
  2281.     variables while popping them off the stack.
  2282.  
  2283.     * bltin.c, (Name): Force name() to return "CONSTANT" when the
  2284.     entity name is "-1" (an constant in an argument list").
  2285.  
  2286.     * math_1.c, fi.c: Improved arg error checking, and added 2-norm
  2287.     option to Norm.
  2288.  
  2289. Fri Oct 30 17:43:39 1992  Ian Searle  (ian@quixote)
  2290.  
  2291.     * op_matrix.c: (matrix_vector_sub): Allow indexing of a SCALAR
  2292.     (only a single index).
  2293.  
  2294.     * op.c, util.c: Make all operations return a SCALAR, if the result
  2295.     is a 1x1 MATRIX.
  2296.  
  2297.     * scan.l: Call signal (SIG_IGN) in yy_input() to avoid causing a
  2298.     flex error.
  2299.  
  2300. Thu Oct 29 19:58:05 1992  Ian Searle  (ian@quixote)
  2301.  
  2302.     * rlab.y, scan.l: Add prompt variable to change the prompt for IF,
  2303.     FOR, WHILE, and functions.
  2304.  
  2305.     * code.c (assign): Finished fixing garbage collection details. In
  2306.     this case I was copying SCALARS twice. Now v0.30 is as good as
  2307.     0.21. 
  2308.  
  2309. Wed Oct 28 21:50:42 1992  Ian Searle  (ian@quixote)
  2310.  
  2311.     * op_matrix.c (matrix_assign) Clean rhs value.
  2312.  
  2313.     * util.c (convert_to_matrix): Clean original SCALAR.
  2314.  
  2315.     * op_append.c (vector_create): Add garbage-collection.
  2316.  
  2317.     * scan.l (new_file): Simplified scheme for input stream switching.
  2318.  
  2319. Mon Oct 26 19:51:37 1992  Ian Searle  (ian@quixote)
  2320.  
  2321.     * matrix.c (matrix_ExtractVector): Made more MATLAB like, by
  2322.     looking at type of parent matrix when deciding what dimensions of
  2323.     extracted vector should be.
  2324.  
  2325.     * relation.c: All functions, made SCALAR rel-op MATRIX and
  2326.     vice-versa work.
  2327.  
  2328.     * main.c (intcatch): New function, catch user interrupts.
  2329.  
  2330. Sat Oct 24 08:29:22 1992  Ian Searle  (ian@quixote)
  2331.  
  2332.     * scan.l: Added trailing context rules for: 3./A conditions.
  2333.  
  2334.     * code.c (load_local_var): Make local vars UNDEFINED.
  2335.  
  2336. Fri Oct 23 18:08:03 1992  Ian Searle  (ian@quixote)
  2337.  
  2338.     * Started Adding el-ops to rlab.y, code.c...
  2339.  
  2340.     * Finished eradicating VECTORS
  2341.  
  2342. Tue Oct 20 23:47:39 1992  Ian Searle  (ian@quixote)
  2343.  
  2344.     * Embarking on experiment... remove VECTORS from the language as a
  2345.     separate data type. Replace ';' with ',' as arg separators.
  2346.  
  2347. Thu Oct 15 18:31:51 1992  Ian Searle  (ian@quixote)
  2348.  
  2349.     * code.c (find_lineno, find_filename): Remove function arg.
  2350.  
  2351. Wed Oct 14 19:34:10 1992  Ian Searle  (ian@quixote)
  2352.  
  2353.     * rlab.y, code.c: Add loff (100) to line numbers to avoid op-code
  2354.     collisions when searching backwards through the codes.
  2355.  
  2356. Mon Oct 12 20:35:55 1992  Ian Searle  (ian@quixote)
  2357.  
  2358.     * code.c (function_define): Fixe 1st line number assign to test
  2359.     for line #0.
  2360.  
  2361. Fri Oct  9 23:38:58 1992  Ian Searle  (ian@quixote)
  2362.  
  2363.     * bltin.c (Clear): New function.
  2364.  
  2365.     * Reverted back to UNDEFINED variables.
  2366.  
  2367. Thu Oct  8 19:28:47 1992  Ian Searle  (ian@quixote)
  2368.  
  2369.     * code.c (list_create): Make list creation use numerical index
  2370.     values. 
  2371.  
  2372.     * trig.c, vector_op2.[ch], matrix_op2.[ch]: Make atan2() take
  2373.     vectors and matrices as args.
  2374.  
  2375.     * function.c (function_Destroy): Check list existence before
  2376.     destroy. 
  2377.  
  2378. Wed Oct  7 18:59:12 1992  Ian Searle  (ian@quixote)
  2379.  
  2380.     * Start incorporating some of the simpler, more common op-code
  2381.     functions directly into the switch.
  2382.  
  2383.     * rlab.[yh], code.[ch], scan.l: Have finished most of the changes
  2384.     mention below. Additionally have made y = function()... workable.
  2385.  
  2386. Mon Oct  5 00:58:30 1992  Ian Searle  (ian@quixote)
  2387.  
  2388.     * rlab.[yh], code.[ch], function.[ch]: Extensive changes to allow
  2389.     copying a user-function. Some of the changes: 1) adding two new
  2390.     op-codes, OP_PUSH_ARG, OP_PUSH_LOCAL, which push local and arg
  2391.     vars without explicit ptr reference 2) the new op-codes caused
  2392.     changes to function_call(), function_ret(), ret_from_function(),
  2393.     push_var, bltin(), and some others. The new op-codes also caused
  2394.     some changes in the parser actions.
  2395.  
  2396. Sat Oct  3 20:28:15 1992  Ian Searle  (ian@quixote)
  2397.  
  2398.     * function.[ch], code.c: Allow user-functions to be assigned,
  2399.     copied. 
  2400.  
  2401.     * scalar.c, vector.c, matrix.c: *_Print() functions changed to
  2402.     print COMPLEX prettier.
  2403.  
  2404. Wed Sep 30 07:16:43 1992  Ian Searle  (ian@quixote)
  2405.  
  2406.     * rlab.y, scan.l: Parser is re-enbtrant now. (%pure_parser)
  2407.  
  2408. Mon Sep 28 19:27:29 1992  Ian Searle  (ian@quixote)
  2409.  
  2410.     * vector.c (vector_copy_complex): Fixed stupid indexing bugs.
  2411.  
  2412.     * math_3.c (FFT): Don't use rfftf() anymore, scale the result by
  2413.     1/N.
  2414.  
  2415.     * op.c, vector_op1.c, matrix_op2.c (power related functions):
  2416.     Added scalar^matrix, matrix^scalar, vector^vector.
  2417.  
  2418.     * vector.c, matrix.c (Create functions): Removed ASSERT(), and
  2419.     replaced with if-test for dimensions < 0.
  2420.  
  2421.     * random.c (Rand): Fix improper ref to arg.u.val, should be
  2422.     arg.u.ent. 
  2423.  
  2424. Sun Sep 27 20:44:54 1992  Ian Searle  (ian@quixote)
  2425.  
  2426.     * op_matrix.c (matrix_transpose): Allow transpose of a vector.
  2427.  
  2428.     * matrix_op1.c (matrix_Transpose): Make complex transpose,
  2429.     complex-conjugate transpose.
  2430.  
  2431.     * random.c (SRand): error() when srand() os called with zero
  2432.     valued arg.
  2433.  
  2434.     * matrix_comp.c (matrix_Eig_NEP): Malloc for vl now, even though
  2435.     we don't uses it.
  2436.  
  2437.     * scan.l: Made 1e6i work.
  2438.  
  2439.     * random.c (Srand): Fixed bozo mistakes in inner switch.
  2440.  
  2441.     * matrix_op1.c (matrix_Log10): Fixed assignment.
  2442.  
  2443.     * rlab.y, code.[ch]: Modified list creation syntax, and behavior.
  2444.  
  2445. Thu Sep 24 21:52:01 1992  Ian Searle  (ian@quixote)
  2446.  
  2447.     * code.c (list_create): Write variable names to objects, as well
  2448.     as ListNodes.
  2449.  
  2450.     * scalar.c, vector.c, matrix.c string.c btree.c (Write): Fixed
  2451.     write functions so that the default name is NOT written on the
  2452.     entity. 
  2453.  
  2454.     * math_1.c (Exp): Fixed exp() to take complex constant.
  2455.  
  2456. Wed Sep 23 19:08:13 1992  Ian Searle  (ian@quixote)
  2457.  
  2458.     * matrix.c (matrix_Print): Played with print format.
  2459.  
  2460.     * matrix_comp.c (NEP): Finally added calls to ZGEEV.
  2461.  
  2462.     * math_2.c (Max, Min): Fixed stupid bug in returning max and min
  2463.     values of a scalar.
  2464.  
  2465.     * config.rs6000: New header file.
  2466.  
  2467.     * math_3.c (IFFT): New function.
  2468.  
  2469. Tue Sep 22 23:08:14 1992  Ian Searle  (ian@quixote)
  2470.  
  2471.     * op.c: Added tests for STRINGS in +, -, *, / functions, must
  2472.     finish rest.
  2473.  
  2474.     * util.c (convert_to_scalar): Added more error checking.
  2475.  
  2476.     * scan.l: Start counting interactive lines at 0.
  2477.  
  2478.     * main.c (error_?): Break error message into multiplt lines.
  2479.  
  2480.     * vector.[ch] (vector_Extend): Removed type spec. Reduce scope of
  2481.     function, now it only does what the name implies, extend the
  2482.     vector if necc.
  2483.  
  2484.     * op_vector.c (vector_assign): Many changes, mostly centered
  2485.     aaround calling vector_Extend.
  2486.  
  2487. Mon Sep 21 19:34:23 1992  Ian Searle  (ian@quixote)
  2488.  
  2489.     * scan.l: Added rule to scanner to handle `1e-3'. No decimal
  2490.     point. 
  2491.  
  2492.     * Doc/rlab.tex: Finally started working on the doc again.
  2493.  
  2494.     * rlab.y (yyparse): Removed silly restrictions in for, if, while,
  2495.     and function statements forcing users to type `{' on the same line
  2496.     as the `)'.
  2497.  
  2498.     * config.h: Added FOPEN_MAX for users who don't have one to set.
  2499.  
  2500.     * math_3.c (FFT): Added vector and matrix fft capability. This is
  2501.     neither finished, or checked out. Will undoubtedly change.
  2502.  
  2503. Sun Sep 20 19:01:13 1992  Ian Searle  (ian@quixote)
  2504.  
  2505.     * random.c (Rand): New file, some new functions. Finished hooking
  2506.     up rand ro RANLIB functions.
  2507.  
  2508.     * rlab.y (yyparse): Added ':' to precedence table (just above
  2509.     ','), and changed vec_expr production from:
  2510.  
  2511.          | vec_expr ',' expr  { code(OP_VEC_APPEND); }
  2512.  
  2513.      to:
  2514.  
  2515.          | vec_expr ',' vec_expr  { code(OP_VEC_APPEND); }
  2516.  
  2517.      This change makes expressions like `1,2,3:10' possible.
  2518.  
  2519.  
  2520.     * op_matrix.c (ent_ent_mat_promote): same as previous.
  2521.  
  2522.     * op_matrix.c (ent_con_mat_promote): same as previous.
  2523.  
  2524.     * op_matrix.c (con_ent_mat_promote): Fixed silly type checking
  2525.     errors that were preventing b[1;1,2] from working.
  2526.  
  2527. Sat Sep 19 00:00:39 1992  Ian Searle  (ian@quixote)
  2528.  
  2529.     * Picked up changes in config.sun4, bltin.h, btree.c, courtesy 
  2530.     R. M. Cothren.
  2531.  
  2532.     * op_vector.c (vector_assign): Improved error handling, and added
  2533.     more remove_tmp_destroy() calls.
  2534.  
  2535. Fri Sep 18 19:18:24 1992  Ian Searle  (ian@quixote)
  2536.  
  2537.     * op_vector.c  (vector_matrix_app): Same fix as below.
  2538.  
  2539.     * op_vector.c (vector_vector_app): Type in loop index (for REAL,
  2540.     COMPLEX) causing core dump. fix: add `+1'
  2541.  
  2542.     * code.c (bltin): Try and clean-up the argument from the tmplist.
  2543.  
  2544.     * code.c (ret_from_function): call remove_tmp_destroy() when
  2545.     poping local and arg vars.
  2546.  
  2547.     * op_matrix.c (matrix_assign): Add calls to remove_tmp_destroy(). 
  2548.  
  2549.     * op_matrix.c (matrix_transpose): Add call to
  2550.     remove_tmp_destroy().
  2551.  
  2552. Thu Sep 17 21:28:23 1992  Ian Searle  (ian@quixote)
  2553.  
  2554.     * math_3.c (FFT): Not finished yet, but compiled and setup
  2555.     libCfftpack.a 
  2556.  
  2557.     * math_1.c (SRand): New function.
  2558.  
  2559.     * math_1.c (Rand): Converted to RANLIB usage.
  2560.  
  2561.     * print.f (do_printf): Fixed sval overflow bug. Put in a test, and
  2562.     an error message.
  2563.  
  2564. Tue Sep 15 22:31:16 1992  Ian Searle  (ian@quixote)
  2565.  
  2566.     * code.c (list_member): Added more error checking, and .class
  2567.     capability for user and bltin functions.
  2568.  
  2569.     * matrix_comp.c (matrix_Eig_GSEP): New function.
  2570.  
  2571. Mon Aug 10 00:05:41 1992  Ian Searle  (ian@quixote)
  2572.  
  2573.     * print.c (Printf): New Function.
  2574.  
  2575. Thu Aug  6 18:53:35 1992  Ian Searle  (ian@quixote)
  2576.  
  2577.     * matrix_comp.c (Qr): Add COMPLEX qr() matrix_QrZ().
  2578.  
  2579.     * matrix_comp.c (Qr): Add install() calls.
  2580.  
  2581.     * math_1.c (Solve): Allow vector, or column matrix as 2nd arg.
  2582.  
  2583.     * rlab.y (yyparse): Add error checking for break and continue
  2584.     outsid of loops.
  2585.  
  2586.     * bltin.c (Zero): if zero() called with no arg of 0 return a
  2587.     scalar. 
  2588.  
  2589. Wed Aug  5 20:50:50 1992  Ian Searle  (ian@quixote)
  2590.  
  2591.     * Added ./lib/editline; a readline(3) like library, but smaller.
  2592.  
  2593. Tue Aug  4 21:36:39 1992  Ian Searle  (ian@quixote)
  2594.  
  2595.     * code.c (function_return): Set the name of an object to 0 when we
  2596.     zero out the name of the entity, returning local datums only.
  2597.  
  2598.     * bltin.c (Size): Make size() return 1 for size of a scalar.
  2599.  
  2600.     * code.c, functi[ch]: Added capability to print() to print
  2601.     function op-codes when -d is used.
  2602.  
  2603.     * Finished up most of relational ops (matrix-scalar).
  2604.  
  2605. Sun Aug  2 11:09:21 1992  Ian Searle  (ian@quixote)
  2606.  
  2607.     * relation.c, complex.[ch], scalar_op1.[ch], vector_op1.[ch]:
  2608.     working on finishing up the vector - scalar realtional ops.
  2609.  
  2610.     * code.c (find_lineno): (*--p) prevented checking current lineno. 
  2611.  
  2612. Fri Jul 31 20:39:38 1992  Ian Searle  (ian@quixote)
  2613.  
  2614.     * code.[ch], rlab.y, dissassem.c, main.c: Added file name, and
  2615.     line numbers to error messages. Some new functions...
  2616.     find_lineno(), find_file_name().
  2617.  
  2618. Tue Jul 28 23:38:03 1992  Ian Searle  (ian@quixote)
  2619.  
  2620.     * Have added the basics of complex variables, constants, etc...
  2621.     Have re-checked everything in after extensive changes to many
  2622.     files, and some brand-new files.
  2623.  
  2624.